An email proxy that keeps your mail in your own database

Email, without the baggage.

Courier sits between you and your mail providers. One server fetches mail from Gmail, Microsoft 365, or any IMAP account and serves one clean API for the web client, agent tools, and apps.

Illustration: an old sorting room with a wall of empty wooden pigeonholes, one of them glowing cool teal.
The film · 1:03

One mailbox, a server that keeps its own copy, a rule that files his mail, and a Send he can take back.

Daniel Xu, Chief of Staff at StrataForge Robotics, shows that Courier sits between you and your mail provider, so your mail, labels, and rules stay yours.

Music and on-screen text, no narration; the captions describe the music and sound. Courier's own screens with fictional StrataForge Robotics mail: the rule, Run on Existing, the Markdown preview, and the Undo toast were done in the real web client on the demo data, and no mail server was reached.
Read the film’s text version

Title: Courier. Email, without the baggage. 2026. A bright, energized electronic score runs under the whole film, with a soft tick or hit on each action.

The hook: “Your mail lives on someone else’s server.” Over Daniel Xu’s inbox, dim and drifting. Then, “Daniel Xu · Chief of Staff” and “Courier keeps a copy.” as the inbox brightens.

The proxy: “It fetches. It keeps a copy.” Three provider tiles, Gmail, Microsoft 365, and IMAP, with Daniel’s own, IMAP, lit. Then 343 marks, one per message, pour into the server’s PostgreSQL copy as the count climbs, with 85 conversations, 6 labels, and 4 rules beneath it. Then, “Everything else asks Courier.”: one API, with the web client and the agent tools behind it.

Conversations: “One row per conversation.” A conversation’s row, ringed with its count of 6; then the reading pane, with five messages folded to a line, a mark each, and the newest one open.

Rules: As the beat drops: “Rules do the sorting.” The rule editor, with Subject, Contains, and Recall logistics ringed, then Star and Mark as Read. Then, “AND. OR. Nested.”: a nested group set to ANY, with two conditions.

Stored mail: “Mail already stored?” Isadora Moreira’s row, bold, with a hollow star. “Run on Existing.”: the button on the rules list, pressed. “Read. Starred.”: the same row, read and starred, with 20 stars, one per message the rule filed, as “20 messages · 5 conversations” counts up.

Markdown: “Write in Markdown.” The board pre-read as typed, with its bold phrase, heading, list, and table; then, “Sent as clean HTML.”, the rendered preview.

Undo: As the beat drops again: “A second chance on Send.” The toast reads “Message sent. Undo (5s)” over five lit marks; two seconds later it reads 3 and two marks go out. “The server holds it.”, with “5 seconds by default · up to 30” and the server’s own answer to a late Undo, “Undo window has expired”. Undo is pressed: “Undo reopens the message.”, the notice “Send canceled. The message is open again.”, and the compose window back with its text.

Agents: “Every action is a tool.” 149 marks, one per agent tool, pour in as the count climbs to 149; then four of the names, search_messages, create_rule, reply_message, and semantic_search.

The end: “Mail. Labels. Rules.” on the beat, then “Yours.” Then the Courier mark, the name, and “Email, without the baggage.” on the final chord.

Features

Your mail, in your database

Courier is a full-stack email platform: a proxy server that does the provider work, and clients that never have to. These are the jobs it does today. The web client reads, triages, searches, writes, sends, and manages rules, and the pages below say where each thing lives.

Providers on one side, one API on the other

One API, many providers
Adapters fetch and send through Gmail (OAuth and the Gmail API), Microsoft 365 (Microsoft Graph), and any IMAP and SMTP account. Every client uses the same API; none of them talks to a provider.
Your own database
Every message, thread, label, and rule lives in PostgreSQL, with full-text search from a trigger-maintained index. The most recent 1,000 messages per account are kept warm in Valkey, and attachments go to S3 when a bucket is configured.
Threads that hold together
A message joins a conversation by its References header, then In-Reply-To, then the provider's thread ID, and last by subject within 30 days.
Live updates
The web client listens to an authenticated stream of server-sent events, so new mail and sync changes show up without a refresh. The header says Live when the stream is connected.

A web client for the inbox

Every folder, or all accounts at once

Inbox, Starred, Snoozed, Sent, Drafts, Scheduled, Spam, Trash, Archive, and All Mail, for one account or a unified view across all of them.

Labels and smart folders
Labels carry a color and can nest. Smart folders are saved searches that fill themselves. They list in the sidebar and open to their own page, and new ones are created through the API or an agent.
Batch actions and density
Select many messages and archive, trash, star, mark, label, or move them in one step, and switch the list between comfortable, default, and compact density.
Block and allow lists
A blocked sender never reaches the inbox, because the list is checked when mail is synced. The Settings page manages both lists.
Go-to keys
Press G and then I, S, D, T, A, P, or R to jump to the inbox, starred, drafts, trash, archive, spam, or rules. The question mark opens the shortcut sheet.
Courier's inbox: a sidebar of folders, labels, and smart folders on the left, and a list of conversations with sender, subject, reply count, date, star, and attachment marks.Courier's inbox: a sidebar of folders, labels, and smart folders on the left, and a list of conversations with sender, subject, reply count, date, star, and attachment marks.
The inbox: one row per conversation, with its reply count, labels in the sidebar, and smart folders below them. Enlarge to see the full screen.

Conversations

A thread folds earlier messages to one line and opens the newest. Quoted text collapses, attachments show as chips, and a warning appears when a sender's address looks like a lookalike or fails its authentication results.

Courier's reading pane: a six-message conversation about cooling maintenance, collapsed to one line per message with the newest message open and a reply box below.Courier's reading pane: a six-message conversation about cooling maintenance, collapsed to one line per message with the newest message open and a reply box below.
A conversation: earlier messages fold to a line, the newest is open. Enlarge to see the full screen.

Write in Markdown. Let rules do the sorting.

A Markdown composer

A CodeMirror editor with a formatting toolbar, a rendered preview, and your signature appended. Courier turns the Markdown into clean HTML when the message is sent.

Courier's compose window, docked over the inbox, showing the rendered preview of a Markdown message: a bold phrase, a heading in larger type, a three-item bulleted list with round markers and italic words, and a table with ruled cell borders and a bold header row, above the signature.Courier's compose window, docked over the inbox, showing the rendered preview of a Markdown message: a bold phrase, a heading in larger type, a three-item bulleted list with round markers and italic words, and a table with ruled cell borders and a bold header row, above the signature.
Writing in Markdown, with a rendered preview before it goes out as clean HTML. Enlarge to see the full screen.

A rules engine

Sixteen condition fields, thirteen operators, and twenty actions, joined in nested AND and OR groups, with priorities and a stop-processing switch. A rule can also be run over mail that is already in the database, and its actions reach your real mailbox, with trash going to the provider's own trash.

Courier's rule editor: a rule named Recall logistics get a star, with a condition that the subject contains Recall logistics and two actions, Star and Mark as Read.Courier's rule editor: a rule named Recall logistics get a star, with a condition that the subject contains Recall logistics and two actions, Star and Mark as Read.
The rule builder: conditions on the left of each row, actions below, run on new mail as it arrives. Enlarge to see the full screen.

Send later, snooze, undo

The server queues scheduled sends, wakes snoozed messages, and holds a send for an undo window. Send shows an Undo toast for that window, and the web client lists what is scheduled and snoozed. Times are set through the API and the agent tools.

Courier's Scheduled page listing two queued messages with their recipients, subjects, and the day and time each will be sent.Courier's Scheduled page listing two queued messages with their recipients, subjects, and the day and time each will be sent.

Send is pressed and the compose window closes; a toast reads "Message sent. Undo (5s)" and counts down 5, 4, 3; Undo is pressed with 3 showing, and the compose window opens again with its text and the notice "Send canceled. The message is open again."

Scheduled: messages waiting for their send time. Enlarge to see the full screen.

Everything is also a tool

149 MCP tools
Reading, sending, drafting, labels, folders, rules, smart folders, contacts, signatures, accounts, search, and push are all tools an agent can call. Each is a thin adapter over a REST route, and tests fail when the two drift apart.
AI features, when a model key is set
Semantic search, thread, contact, and topic summaries, commitment and follow-up tracking, reply drafts, meeting briefings, related threads, and suggested rules run on the server and answer through the API. Without a model key each one says it is not configured instead of failing.
Approved outreach for other tools
Other Renkara tools can send outreach through Courier with proof of the exact content, an approval step, retries, a suppression list, and signed complaint and unsubscribe intake.
Screens

See it in light and dark

Real captures of the running tool, with fictional StrataForge Robotics data. They follow your theme.

How it works

From provider to inbox

  1. Connect

    Link a Gmail or Microsoft 365 account through OAuth, or an IMAP and SMTP account with an app password. Credentials are encrypted at rest.

  2. Sync

    Adapters fetch mail by each provider's own mechanism: Gmail history and push, Microsoft Graph delta and webhooks, IMAP IDLE. Courier normalizes it, threads it, indexes it, and stores it.

  3. Read and organize

    The web client, an agent, or a native app reads from Courier's API. Read, star, archive, spam, and trash, done by hand or by a rule, are written back to Gmail, Microsoft 365, IMAP, and JMAP accounts, and so are a rule's labels and folder moves; labels and folder moves done by hand, and snooze, stay in Courier's copy. Delete permanently moves the provider's copy to its own trash.

  4. Automate

    Rules sort new mail as it arrives. Workers send scheduled messages, wake snoozed ones, and purge old trash, all on the server.

Accessibility

Built so everyone can use Courier.

Courier's web client is built on the Renkara design system. On 10/29/2026 we ran axe-core over fourteen states of the running app (the inbox, an open conversation, starred, sent, drafts, scheduled, rules, the rule editor, settings, search results, a smart folder, a reply window, contacts, and the composer) at phone and desktop widths in light and dark, 56 scans in all. It found real problems earlier in the day; we fixed the small ones in Courier, and what is left is listed below as known gaps. We do not claim a WCAG conformance level for the product.

  • Partly supported

    Keyboard operation

    A skip link and a visible focus ring are in place, every message row is a focusable control that opens on Enter or Space, and go-to chords (G then I, S, D, T, A, P, or R) and a shortcut sheet work. Courier defines more single-key shortcuts than the web client connects, so those do nothing. The scan reports no nested controls in the message rows.

  • Partly supported

    Screen reader landmarks and labels

    The page has landmarks (header, sidebar navigation, main), the Live indicator announces its state, the star buttons and message headers have accessible names, and axe-core's name and role checks pass apart from one button on the contacts page and one unfocusable scrolling pane in the reply window. Courier has not been tested with a screen reader.

  • Partly supported

    Contrast in light and dark

    After fixes, text and controls pass axe-core's contrast rule in light and dark on every scanned state except one, the name of the open smart folder in the sidebar. The scan found white text on the dark theme's light-teal accent, gray text on a hard-coded fallback color, and red text on the dark surface, and each was fixed in Courier. Only the scanned states were checked, and no one has reviewed contrast by hand.

  • Partly supported

    Reduced motion

    The header checks the reduced-motion setting before animating, and the design system's global styles switch motion off when it is set. The rest of the app's transitions have not been audited and no test covers it.

  • Not yet tested

    Text resize and zoom

    Resizing text to 200 percent has not been tested, and several components set text in fixed pixel sizes.

  • Partly supported

    Mobile and touch

    Below 768 pixels wide the sidebar folds into a menu drawer, the list fills the screen, and opening a conversation replaces it with the reading pane. No scanned state scrolls sideways at 375 pixels. Tap-target size was not measured.

Tech specs

Under the hood

Courier technical specification
Server
  • FastAPI on Python 3.12
  • SQLAlchemy 2 and Alembic
  • PostgreSQL, with full-text search
  • Celery workers on a Valkey broker
Web client
  • React 19, TypeScript, and Vite
  • Zustand state, a virtualized message list
  • CodeMirror 6 Markdown editor
  • Light and dark themes
Mail
  • Gmail API with Pub/Sub push
  • Microsoft Graph with delta sync and webhooks
  • IMAP with IDLE, SMTP for sending
Search and storage
  • Twelve search operators with AND, OR, and NOT
  • Valkey hot cache, 1,000 messages per account
  • S3 attachments when a bucket is configured
  • Embeddings computed on the server (all-MiniLM-L6-v2)
Agents
  • 149 MCP tools over the REST API
  • AI features with a per-account monthly budget
  • Signed outreach intake for other tools
Quality
  • More than 1,200 backend test functions
  • More than 300 frontend tests
  • Keyboard shortcut and layout tests
Works with

Part of the Renkara fleet

MCP tools

Built for agents as well as people

Every tool is a thin adapter over a REST route. These are the groups, with the number of tools in each and a few names.

Messages and threads · 25

  • list_messages
  • get_message
  • get_thread
  • get_unread_count
  • archive_messages
  • delete_messages

AI and search intelligence · 20

  • semantic_search
  • summarize_thread
  • summarize_contact
  • summarize_topic
  • list_commitments
  • get_follow_ups

Outreach controls · 20

  • create_outreach_draft
  • get_outreach_draft_proof
  • approve_outreach_draft
  • dispatch_outreach_draft
  • create_outreach_suppression
  • list_outreach_outcomes

Contacts · 13

  • list_contacts
  • get_contact
  • update_contact
  • merge_contacts
  • export_contacts
  • autocomplete_contacts

Compose and send · 12

  • send_message
  • reply_message
  • forward_message
  • create_draft
  • update_draft
  • send_draft

Labels and folders · 12

  • apply_label
  • remove_label
  • move_to_folder
  • list_labels
  • create_label
  • get_account_folders

Signatures and identities · 11

  • list_identities
  • create_identity
  • update_identity
  • list_signatures
  • create_signature
  • get_default_signature

Search and smart folders · 8

  • search_messages
  • list_smart_folders
  • create_smart_folder
  • get_smart_folder
  • update_smart_folder
  • execute_smart_folder

Accounts · 7

  • list_accounts
  • get_account
  • create_account
  • update_account
  • delete_account
  • sync_account

Rules · 7

  • list_rules
  • create_rule
  • update_rule
  • delete_rule
  • get_rule
  • test_rule

Block and allow · 6

  • block_sender
  • unblock_sender
  • list_blocked_senders
  • list_allowed_senders
  • add_allowed_sender
  • delete_allowed_sender

Service, settings, and push · 8

  • check_service_health
  • get_diagnostics
  • get_settings
  • update_settings
  • register_push_subscription
  • get_vapid_public_key
Native clients

On iPhone, iPad, and Mac

FAQ

Questions people ask

Does Courier replace my mail provider?

No. Your provider still holds the mailbox and delivers mail. Courier syncs a copy into its own database and sends through your provider's servers, so your mail, labels, and rules stay yours if you switch providers.

Which providers can I connect?

Gmail and Microsoft 365 through OAuth, and any IMAP and SMTP account with an app password.

Can I send mail from the web client?

Yes. The web composer sends new messages, replies, replies to all, and forwards, and a short undo window lets you take a send back. Agents can do the same through the API and the tools.

What do the AI features need?

A model key. Without one, each AI feature reports that it is not configured instead of failing. There is a monthly budget per account, with a hard stop, and the features answer through the API and agent tools.

Where do the screenshots come from?

They are captures of the web client running locally against fictional data for StrataForge Robotics, a made-up company. No real mailbox was read, and the capture never connects to a mail server.

Contact

Questions about this tool?

Write to Renkara Media Group and a person will answer.