Angular email client template
A mailbox with a reading pane, undo and a docked composer, built from the Styloviz components
One route — the mailbox — with six folders and a Starred view, four labels, search, a list and reading pane side by side, and a compose window docked over the mailbox rather than replacing it. Every pane reads one signal store over a mock API you swap for your own with one setting, so unread counts, the open thread and Sent stay in step. Dark mode, single-key shortcuts (C to compose, / to search), and one pane at a time on a phone.
Included with a Styloviz Pro license. The download is a complete Angular project — npm install && npm start.


- folders, plus a Starred view
- 6
- labels to filter by
- 4
- stored unread counts — all derived
- 0
- signal store behind every pane
- 1
Walkthrough · 1:30
What it does, page by page
1. Mailbox
OpenA folder rail — Inbox, Starred, Sent, Drafts, Archive, Spam, Trash, each with its unread count — and four label filters (Work, Billing, Personal, Alerts), beside a message list and a reading pane on a splitter that starts at 38%, drags between 26% and 62% and remembers where you left it. Starred is a view across folders, so starring never moves a thread. Rows open with a click, Enter or Space and mark the thread read; tick rows (or all of them) to archive, delete, mark read or unread in bulk, and every archive or delete offers Undo, which puts each thread back in the folder it came from. In the reading pane, reply, reply all or forward inline at the foot of the thread — the message joins the conversation. Compose opens a window over the mailbox with To, Cc, Bcc, subject and a rich-text body; it minimises, goes full screen, saves to Drafts when closed with text in it, and on Send the message is in Sent. In the demo nothing leaves the browser. Every change shows at once and is saved in one request; if the save fails it is undone and a banner says so. On a phone: five folders in a bottom bar, pull down to refresh, and the open thread’s actions in an action sheet.
Built from Styloviz components
The template is a composition of the same packages you install from npm — nothing in it is a one-off copy of a component.
| Component | Package | Used for |
|---|---|---|
| sv-splitter | @styloviz-pro/layout | the resizable list / reading-pane split, with its position remembered |
| sv-rich-text-editor | @styloviz-pro/rich-editor | the compose window and the inline reply, with the tools the sanitised reading pane cannot keep hidden |
| sv-input-field | @styloviz/input-field | the header search box and the To, Cc, Bcc and subject fields |
| sv-button | @styloviz/button | Send in the compose window |
| sv-pull-to-refresh | @styloviz/layout | pull down to refresh the message list on a touch screen |
| sv-action-sheet | @styloviz/overlays | the open thread’s actions on a phone — reply, forward, mark unread, archive, delete |
| sv-bottom-nav | @styloviz/sidebar-nav | five folders with unread badges under the thumb on a phone |
| sv-skeleton-shell · sv-error-shell · sv-empty-shell | @styloviz/core | loading, error with Try again, and empty-folder / no-results states |
| sv-icon-pro | @styloviz-pro/icons | every glyph — the template registers the ones it names |
What it would cost to build
Our estimate for building the same thing from scratch is 2–3 weeks for one experienced Angular developer — roughly 80–120 hours for the store with derived counts, the starred view, bulk actions and undo, inline replies, the docked composer with drafts, the phone layout and the specs — before any of your own backend work. It is an estimate, not a measurement.
Questions
Does it connect to my backend?
Yes. Set MAIL_API.baseUrl in mail.config.ts and MailStore loads the mailbox with GET /mailbox , then sends each change — a read, a star, a move, a sent message, a reply, a draft — as one POST /changes carrying the whole threads it changed and the ids it removed. Leave it empty and the demo threads load through the same code after demoLatencyMs , so the loading, retry and failed-save states are real. Writes are optimistic: a refused one is put back and the page says so.
Does it send real email?
Not by itself. Send adds the message to Sent as a new thread and a reply is appended to its thread; with MAIL_API.baseUrl set, both are posted to /changes like any other change, and your server decides that a new message in Sent means “deliver it”.
Is message HTML safe to render?
Message bodies are rendered through Angular’s [innerHTML] , which sanitises them; the template never calls bypassSecurityTrust* . Because the sanitiser strips inline styles, the font, size and alignment tools are hidden in the editor ( MAIL_UNSUPPORTED_EDITOR_TOOLS in mail.config.ts ), so what you format is what is sent.
Which Angular and Tailwind versions does it need?
Angular 21 or 22 with standalone components and signals, and Tailwind CSS 4. The download is a complete Angular project: npm install && npm start .
Is it accessible?
The mailbox is scanned with axe in light and dark mode. Rows open with Enter or Space, c and / are ignored while you type in a field, Escape minimises the composer instead of discarding it, and the icon-only buttons have text labels for screen readers.
What license covers it?
The Mail template is part of Styloviz Pro. A Pro license covers the template and the Pro packages it imports, including use in client projects.
Looking for something else? See every template