<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/one-codebase-two-clouds-building-epicmail-in-net-with-sergey-sagan-vmnmafas6" -->

---
title: One Codebase, Two Clouds: Building EpicMail in .NET with...
description: EpicMail is an email client built end to end in .NET, with Blazor for the web, one .NET MAUI codebase for Android and iOS, and a shared API. Sergey Sagan hosts...
canonical: https://daily.dev/posts/one-codebase-two-clouds-building-epicmail-in-net-with-sergey-sagan-vmnmafas6
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: One Codebase, Two Clouds: Building EpicMail in .NET with Sergey Sagan | daily.dev
og:description: EpicMail is an email client built end to end in .NET, with Blazor for the web, one .NET MAUI codebase for Android and iOS, and a shared API. Sergey Sagan hosts...
og:url: https://daily.dev/posts/one-codebase-two-clouds-building-epicmail-in-net-with-sergey-sagan-vmnmafas6
og:image: https://api.daily.dev/og/posts/vMnmafAs6.png
og:image:alt: One Codebase, Two Clouds: Building EpicMail in .NET with Sergey Sagan
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

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

**[We Are .NET](https://daily.dev/sources/wearedotnet)** · 47 min read · 0 upvotes · 0 comments

## Summary

EpicMail is an email client built end to end in .NET, with Blazor for the web, one .NET MAUI codebase for Android and iOS, and a shared API. Sergey Sagan hosts most of it on Azure but sends email through AWS, because he found AWS more established for that. He avoids DTOs by sharing models between server and Blazor, and versions the API only when deleting or changing endpoints. Google's annual OAuth review costs him $500, and users must sign up on the web to avoid app store cuts.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=WEjSBSHoJyk>

## Similar posts on daily.dev

- [Taking Email Back](https://daily.dev/posts/taking-email-back-v7glis0a1) · Lobsters · 0 upvotes · 0 comments
- [I Gave Desktop Email Clients Another Shot and This New App Delivered](https://daily.dev/posts/i-gave-desktop-email-clients-another-shot-and-this-new-app-delivered-kiy5sdo0n) · It's Foss · 70 upvotes · 2 comments

---

Tags: [#cloud](https://daily.dev/tags/cloud), [#architecture](https://daily.dev/tags/architecture), [#.net](https://daily.dev/tags/.net), [#blazor](https://daily.dev/tags/blazor), [#.net-maui](https://daily.dev/tags/.net-maui)

[View this post on daily.dev](https://daily.dev/posts/one-codebase-two-clouds-building-epicmail-in-net-with-sergey-sagan-vmnmafas6)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"One Codebase, Two Clouds: Building EpicMail in .NET with Sergey Sagan","url":"https://daily.dev/posts/one-codebase-two-clouds-building-epicmail-in-net-with-sergey-sagan-vmnmafas6","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/one-codebase-two-clouds-building-epicmail-in-net-with-sergey-sagan-vmnmafas6"},"datePublished":"2026-12-04T08:40:53.657Z","dateModified":"2026-12-04T08:41:09.798Z","description":"EpicMail is an email client built end to end in .NET, with Blazor for the web, one .NET MAUI codebase for Android and iOS, and a shared API. Sergey Sagan hosts...","image":"https://i.ytimg.com/vi/WEjSBSHoJyk/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/WEjSBSHoJyk/sddefault.jpg","isAccessibleForFree":true,"articleSection":"We Are .NET","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"We Are .NET","logo":"https://media.daily.dev/image/upload/s--BsnVOa3i--/f_auto/v1718347410/logos/wearedotnet","url":"https://daily.dev/sources/wearedotnet"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/one-codebase-two-clouds-building-epicmail-in-net-with-sergey-sagan-vmnmafas6","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cloud,architecture,.net,blazor,.net-maui","timeRequired":"PT47M","video":{"@type":"VideoObject","name":"One Codebase, Two Clouds: Building EpicMail in .NET with Sergey Sagan","description":"EpicMail is an email client built end to end in .NET, with Blazor for the web, one .NET MAUI codebase for Android and iOS, and a shared API. Sergey Sagan hosts...","thumbnailUrl":"https://i.ytimg.com/vi/WEjSBSHoJyk/sddefault.jpg","uploadDate":"2026-12-04T08:40:53.657Z","duration":"PT47M","url":"https://api.daily.dev/r/vMnmafAs6","embedUrl":"https://www.youtube.com/embed/WEjSBSHoJyk"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"We Are .NET","item":"https://daily.dev/sources/wearedotnet"},{"@type":"ListItem","position":3,"name":"One Codebase, Two Clouds: Building EpicMail in .NET with Sergey Sagan"}]}
```

