Can gmail (smtp.gmail.com) post incoming mails to my application instead of my applications pulls the mail?

StackOverflow https://stackoverflow.com/questions/21502059

  •  05-10-2022
  •  | 
  •  

Question

I am using smtp.gmail.com to send mails. I want to read/parse mails in my application.

I know how to pull the mails, there are API libraries to handle that. It is bit over do for my application.

Instead, is there any way gmail can post mails to my application like sendgrid does ?

Was it helpful?

Solution

If you want to get emails from a gmail account, and want a webhook to do such, you could use Context.io's Webhook Feature.

However, at the maximum volume you'll be able to send out with Gmail, I'd recommend looking toward an email service provider's free plan. If you're familiar with SendGrid already SendGrid's Free Plan will give you access to both low volume sending, and the Parse webhook. Other email service providers will give you the same functionality on their free plans, as well (e.g. Mailgun).

Disclaimer: I am a SendGrid employee.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top