# Get all emails for a contact via REST based API

**URL:** <https://forum.mautic.org/t/get-all-emails-for-a-contact-via-rest-based-api/13389>\
**Category:** Product Support\
**Created:** [March 16, 2020, 12:47pm UTC](https://forum.mautic.org/t/get-all-emails-for-a-contact-via-rest-based-api/13389 "2020-03-16T12:47:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jatinbajaj777](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jatinbajaj777/32/680_2.png) [@jatinbajaj777](https://forum.mautic.org/u/jatinbajaj777)\
**Post date:** [March 16, 2020, 12:47pm UTC](https://forum.mautic.org/t/get-all-emails-for-a-contact-via-rest-based-api/13389/1 "2020-03-16T12:47:56Z")

</div>

**Your software**  
My Mautic version is: 2.16  
My PHP version is: 7.2

**Your problem**  
My problem is: I need to fetch emails for a particular contact received/sent from a particular sent. I checked the documentation but can’t find anything specific for this.  
[https://developer.mautic.org/#list-emails](https://developer.mautic.org/#list-emails)

Steps I have tried to fix the problem:  
I checked the documentation but can’t find anything specific for this.  
[https://developer.mautic.org/#list-emails](https://developer.mautic.org/#list-emails)

---

<div class="post-metadata">

**Author:** ![mayanktiwaridotcom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mayanktiwaridotcom/32/1501_2.png) [@mayanktiwaridotcom](https://forum.mautic.org/u/mayanktiwaridotcom)\
**Post date:** [March 16, 2020, 1:02pm UTC](https://forum.mautic.org/t/get-all-emails-for-a-contact-via-rest-based-api/13389/2 "2020-03-16T13:02:49Z")

</div>

This will only give you a list of existing emails in mautic(templates based emails). If you need to get sent/received emails you should either implement a logger which either notifies you or keeps a log of emails in mautic, but that will be very complicated.

Best option is to find a way to do this with your email provider.
