0

We have an iOS app connected to an AppAngine backend and we have implemented basic emailing functionality using the GMail API (from the backend) however reply to still has a small problem: we noticed that the reply arrow is not shown in desktop email client (eg. Apple Mail app in my tests) when we reply from our app. (We have set the required headers (In-Reply-To and References) and the threadId, as described in the API docs, and the email was sent succesfuly)

Then we figured it out after reading (https://www.rfc-editor.org/rfc/rfc3501#section-2.3) and experimenting with IMAP using a local script:

  • for marking the message as replied we had to set the \Answered flag; then the small arrow icon will be shown in email clients.

Is there any way to set the \Answered flag using the GMail API?

Community
  • 1
  • 1
Lucian S.
  • 21
  • 1
  • Possible duplicate: https://stackoverflow.com/questions/26510757/mark-as-read-mail-method The key is to remove the UNREAD label. – payne Oct 31 '18 at 10:45
  • AFAIK, there is no features for this in the API and looking up for any existing [feature request](https://issuetracker.google.com/issues/117717163) I found your post which I'll include for the benefit of the community. – Mr.Rebot Oct 31 '18 at 13:12
  • @payne my question is about marking the message as answered, marking as read is a different thing – Lucian S. Nov 01 '18 at 11:20
  • Ooops, you are absolutely right -- my bad! – payne Nov 01 '18 at 18:18

0 Answers0