How to send Email in C# .NET using SMTP and SendGrid
You can use the SendGrid APIs to send emails, but you can also use SMTP with SendGrid. Learn how to send emails using SMTP, SendGrid C# .NET
Capture emails during development using smtp4dev and UI Test with Selenium
You can use smtp4dev during development to prevent emails from going out to real customers. This tool also supports IMAP which you can use to query emails for automated testing.