The Modern .NET Show

One Codebase, Two Clouds: Building EpicMail in .NET with Sergey Sagan

Dec 4, 2026
Sergey Sagan, a software engineer with over 20 years of .NET experience, discusses building EpicMail from the ground up. Explore its Blazor and .NET MAUI codebase, Azure and AWS architecture, the peculiar challenges of managing email, cross-platform app releases, OAuth compliance, API versioning, and clean architecture with shared models.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ANECDOTE

EpicMail Began With Gmail Losing External Accounts

  • Sergey Sagan built EpicMail after Google announced Gmail would end support for external POP3 and SMTP accounts.
  • The project introduced him to AWS, OAuth, and Google’s security review process, making it an expensive learning experience.
INSIGHT

MAUI Preserves One Codebase Across Mobile Platforms

  • .NET MAUI let EpicMail share functionality across Android and Apple apps while preserving platform-specific styling.
  • Sergey Sagan accepted two client codebases because both applications depend on the same API, limiting duplication.
INSIGHT

Native Feel Builds User Trust

  • Sergey Sagan chose MAUI over alternatives partly because native behavior matches users’ expectations on each device.
  • Familiar platform conventions reduce the learning burden and make applications feel more trustworthy.
Get the Snipd Podcast app to discover more snips from this episode
Get the app