Search code examples
c#.netgmail

Best way to get notification in from gmail in C#


Best way to get notification in from gmail in C#, when new email is received.


Solution

  • Have a look at the Gmail inbox feed. It's a bit lighter than using POP3 for this.

    The Gmail Inbox Feed will output your Inbox as an XML document. You can use an RSS aggregator to view this, or you can consume the feed with your own app.

    Note: This feed is only available for Gmail accounts on Google Workspace domains.