How can I forward specific emails to my server if I set my MX records to connect with Gmail Business?

424 Views Asked by At

I am using Gmail for business and have set the MX records for my domain to point to gmail.

I've been searching but can't find anything in regards to gmail api webhooks for posting specific emails to a specific URL route on my server.

I need to do something similar to this: https://sendgrid.com/blog/receive-inbound-email-meteorjs/ but instead of using sendgrid, I need to do it with gmail api since my MX records are pointing to Gmail.

Is this even possible with gmail api? If so can you point me in the right direction.

Basically any email sent to [email protected] need to be posted to the route mydomain.com/incoming-email. Need to be able to do this with Gmail.

0

There are 0 best solutions below