✅ Get Gmail inbox using C#
Is there a way to get my Gmail emails from my inbox using C#? I've taken a look at multiple results but they seem to be either outdated or dont work at all
4 Replies
You can try Gmail API
https://developers.google.com/gmail/api/guides
Google for Developers
Gmail API Overview | Google for Developers
is there a possible IMAP approach for that? I dont really need to interact with anything except get my messages
i read a few times i can use the app password thingie like SMTP
MailKit is an option for an IMAP supported library
I believe there is even a demo project on the MailKit repository for IMAP
I used MailKit to connect it via IMAP
It worked