# Webmail

Manage folders, messages, and compose flows in an Outlook-style webmail experience in the browser. Built with TreeView, ListView, Splitter, and Sidebar for a complete email client.

Canonical page: [Webmail](https://showcase.syncfusion.com/webmail/)

Use case: Collaboration &amp; Communication

## Available demos

- [Angular demo](https://showcase.syncfusion.com/webmail/angular/)
- [JavaScript demo](https://showcase.syncfusion.com/webmail/typescript/)
- [JavaScript ES5 demo](https://showcase.syncfusion.com/webmail/javascript/)
- [ASP.NET Core demo](https://showcase.syncfusion.com/webmail/aspnetcore/)
- [ASP.NET MVC demo](https://showcase.syncfusion.com/webmail/aspnetmvc/)

## Source code

- [Source repository](https://github.com/syncfusion/showcase-webmail)
- [Angular source](https://github.com/syncfusion/ej2-showcase-angular-outlook)
- [JavaScript source](https://github.com/syncfusion/ej2-showcase-ts-webmail)
- [JavaScript ES5 source](https://github.com/syncfusion/ej2-showcase-js-outlook)
- [ASP.NET Core source](https://github.com/syncfusion/ej2-showcase-aspnetcore-outlook)
- [ASP.NET MVC source](https://github.com/syncfusion/ej2-showcase-aspnetmvc-outlook)

## Components used

- TreeView: Renders the mail folder tree \(Inbox, Sent Items, Drafts, Deleted Items, Archive, custom folders, and favorites\) with per-folder unread counts, subfolder CRUD, and a context menu for rename, delete, and favorite actions.
- ListView: Displays the message list for the selected folder with custom item template, read/unread styling, flag indicator, hover delete/mark-read/flag actions, and a filter context menu for All, Unread, Flagged, and sort order. — [Product](https://www.syncfusion.com/react-components/react-listview) · [Documentation](https://ej2.syncfusion.com/react/documentation/listview/getting-started)
- Splitter: Divides the workspace into a resizable list pane and reading pane on tablet and desktop, and stacks the panes on mobile for focused reading.
- Accordion: Hosts the message header in the reading pane, showing the sender avatar, name, email, date, CC line, and collapsible message body.
- Sidebar: Provides the persistent folder rail that pushes content on desktop and overlays the workspace on mobile/tablet, with a second right-side panel for notifications, settings, profile, and help.
- Dialog: Shows modal confirmations for favorite removal, folder delete, mail sent confirmation, and discard message.
- Dropdowns: Power contact search in the header, the Move To and Categories pickers, the Reply / Reply All / Forward chooser, the To and CC token pickers, and @-mentions inside the compose body using AutoComplete, DropDownList, MultiSelect, Mention controls.

## Overview

Manage folders, messages, and compose flows in an Outlook-style webmail experience in the browser. Built with TreeView, ListView, Splitter, and Sidebar for a complete email client.

## Business problem

Knowledge workers spend large parts of their day inside a mail client, but most browser-based webmail apps force trade-offs: lightweight apps feel fast but lack rich folders, search, and compose; heavier apps add friction with cluttered toolbars, slow rendering, and layouts that break on mobile.

- Folder-heavy mailboxes are hard to navigate without a fast, hierarchical tree and per-folder counts
- Compose windows need rich-text formatting, contact pickers, and @-mentions without feeling like a separate editor
- Inbox triage is slow when mark-read, flag, move, and categorize live behind separate menus
- Web clients that do not adapt to phone, tablet, and desktop leave remote workers without a usable mobile view
- Notification and contact lookup is fragmented when each lives in its own dialog or app

## Application goal

Deliver a focused, Outlook-style webmail experience that turns the folder tree, message list, reading pane, and compose form into a single fluid workspace across phone, tablet, and desktop.

- Provide a hierarchical folder tree with favorites, subfolders, and unread counts for fast triage
- Offer a full rich-text compose form with To/CC token pickers, @-mentions, and a pop-out compose window
- Keep the user in context with header search, contact autocomplete, and an incoming-mail toast
- Adapt the layout responsively — push sidebars on desktop, overlay sidebars and stacked panes on mobile

## Target users

Designed for people who treat email as a primary working surface and want a browser-native Outlook-style experience that works the same on desktop and on the go.

- Knowledge workers and remote teams handling high-volume inboxes
- Helpdesk and customer support agents triaging tickets through a shared mailbox
- Sales and account managers tracking threaded conversations with customers
- Project managers and team leads coordinating work over email threads
- Users who prefer a browser-based mail client without installing Outlook or a desktop app

## Business value demonstrated

Shows how a Syncfusion-powered webmail client can deliver Outlook-style productivity with a compact component footprint, responsive layout, and rich compose experience in the browser.

- Faster inbox triage through a folder tree with unread counts, favorites, and mark-all-as-read
- Quicker replies with a dedicated Reply / Reply All / Forward dropdown and inline compose form
- Better mobile experience through responsive sidebars, stacked panes, and overflow toolbars
- Lower IT footprint by replacing a desktop mail client with a deployable browser app

## Main workflows

Key workflows supported by the Webmail application.

- Browse inbox folders in the tree, switch between Inbox, Drafts, Sent, Deleted, Archive, and custom subfolders, and mark a folder as favorite
- Read messages in the split reading pane, with sender, CC, date, and collapsible body
- Compose a new email with rich-text formatting, To and CC pickers, @-mentions, Attach, Send, and Discard
- Search mail and people from the header contact autocomplete
- Get an incoming-mail toast and review notifications, settings, profile, and help from the right-side AppBar panel
