I am trying to get promotional and newsletter email messages using Gmail API. Currently, I am requesting the Gmail API based on sender, but it is not feasible. Is there a way to identify an email message as promotions or newsletters, when getting messages using Gmail API?
Is there a meta tag for newsletters or promotional messages?
Any help regarding this will be appreciated.
Thank you!
J.
The tag you mentioned in the question is called label in Gmail API. You can find a list of default labels in the documentation:
https://developers.google.com/gmail/api/guides/labels
I guess you are interested in CATEGORY_PROMOTIONS. In that case, you should pass it as a query param called labelIds[] of the request, that lists user's messages: https://developers.google.com/gmail/api/v1/reference/users/messages/list
Related
I develop a mobile app Speaking Email that reads emails out to the user, which can be used while driving to work for example. I would like to add Slack as an account type. Ideally we would have Speaking Email read out the user’s slack messages that are unread, as these will be what they need to catch up on. However it does not appear the Slack API has a method for retrieving the messages the user hasn’t read. Is this possible with the latest Slack API?
I was searching for the same thing and found their API doc about Read Messages!
https://api.slack.com/messaging/retrieving
According to the Zendesk documentation:
Receiving attachments from customers
Zendesk accepts attachments from users sent in via the API, email and web form channels in your Help Center.
However, I can't find any information in the documentation to accomplish this.
I'm not sure I fully understood the question, but you can just attach your document to the email you are sending in to update the ticket.
with google framework, Google/AppInvite
How can we add the list of emails for GINInvite object to send the invitation? I'm not getting any way to invite the list of emails I'm getting from my webApi
Is it possible to prefill users to send app invitation?
How?
Thank you
Looking at the documentation for App Invites, there's absolutely no exposure of any e-mail or user information going in or out. It looks like Google is being privacy-minded here and would prefer that users have total control as to how invites get addressed.
We found that some clients didn't get mail because of followed issue described here
How can we get all mails that failed to get mail?
Does Mandrill provide any API?
Thank you,
Yes, Mandrill does have a robust API, and you can easily retrieve the list of emails that have failed.
See Mandrill's API documentation here: https://mandrillapp.com/api/docs/rejects.JSON.html#method=list
They have examples in a bunch of popular languages, and you can even test the responses with your real API key on that same documentation page!
How do I forward a page to a Friend in Mandrill API?
I have generated the newsletter html format to send mail through Mandrill and it is properly sent. But I want to forward a friend to in my newsletter html file.
Please help me.
Mandrill doesn't offer that feature. You can read more here
From their documentation:
The MailChimp |FORWARD| merge tag generates a link to an online form
where recipients can share your email with others. Since Mandrill
emails are generated and tracked individually, a web version isn't
provided automatically. To mimic the Forward to a Friend option in
Mandrill, you could create your own online version of the email, host
it on your website, and then give your recipients a way to share that
online version with friends (through a direct link or an online form).
Then you could track when people fill out the form or when they click
the link for the shared email.