Blog/ Apple Mail & iCloud

Apple Mail Mailbox Behaviors Explained (Drafts, Sent, Trash)

Nafiul HasanNafiul Hasan· 14 min read
Apple Mail Mailbox Behaviors settings panel showing per-account IMAP folder mapping for Sent, Drafts, Trash, and Archive

The short answer

The Mailbox Behaviors panel in Apple Mail maps each account's Drafts, Sent, Junk, Trash, and Archive to a specific server folder. When that mapping does not match what the IMAP server expects, you get duplicate Sent folders, deleted messages that skip Trash, or Drafts that multiply on every keystroke. Changing the per-account setting corrects it.

Apple Mail Mailbox Behaviors maps each IMAP account's Sent, Trash, Drafts, and Archive to the right server folder — fix duplicates and missing messages.

On this page
  1. 01How Mailbox Behaviors works underneath
  2. 02What each Mailbox Behaviors setting controls
  3. 03What breaks when the mapping is wrong
  4. 04How to change Mailbox Behaviors per account in Apple Mail
  5. 05Archive versus Trash: how Apple Mail treats each differently
  6. 06Common misconceptions about Mailbox Behaviors
  7. 07How AI Emaily handles multi-account IMAP folder mapping

If you have ever wondered how to change mailbox behaviors in Apple Mail, the answer is in a tab that most users scroll past: Settings, then Accounts, select an account, then Mailbox Behaviors. That panel controls which server folder Apple Mail treats as Drafts, which it treats as Sent, where deleted messages land, and what the Archive button actually does. One wrong mapping here produces duplicate Sent folders, messages that disappear on deletion instead of going to Trash, or drafts that multiply with every auto-save.

The setting matters because Apple Mail connects to email servers over IMAP, a protocol that stores your mailbox as a tree of folders on the server. IMAP itself does not define which folder is Sent and which is Trash — those designations are conveyed through special-use folder flags that servers advertise as an extension to the core protocol. Apple Mail tries to read those flags when you add an account, but auto-detection is imperfect. It never knows that your personal Gmail account and your company Exchange account use different folder names for the same purpose. The Mailbox Behaviors panel exists so you can tell it the correct mapping, per account.

This guide explains what each setting does, why a mismatch produces the symptoms people most often report, and the exact steps to correct it on macOS Sequoia and earlier versions. It also covers the Archive versus Trash distinction, which causes nearly as much confusion as duplicate Sent folders do.

How Mailbox Behaviors works underneath#

When Apple Mail connects to an IMAP account, it queries the server for its folder list and tries to match each folder to one of five local mailbox roles: Drafts, Sent, Junk, Trash, and Archive. Servers advertise special-use folder attributes — defined as an extension to the Internet Message Access Protocol — to signal which folder should serve each role. Gmail flags its [Gmail]/Sent Mail folder as the Sent folder. iCloud uses a folder called Sent Messages. A self-hosted mail server might call it Sent Items. Apple Mail reads those flags during account setup and maps accordingly.

The problem is that auto-detection does not always match the server's intent. A server with a nonstandard folder name may not advertise special-use flags at all, or may advertise flags that conflict with folders Apple Mail previously created in an earlier session. When that happens, Apple Mail picks a folder without generating an error, and the mismatch persists silently. You notice it later: sent messages in two places, deleted messages gone entirely, or archived mail landing in the wrong folder.

The Mailbox Behaviors tab overrides the auto-detected mapping for each account individually. Each of the five mailbox roles has its own configuration, and you can set them independently — storing Drafts on the server while keeping Sent copies on your Mac, or pointing Trash at the server's Deleted Items folder while leaving Archive at its default. The settings are per-account and never propagate to other accounts, even accounts on the same server type.

What each Mailbox Behaviors setting controls#

Each of the five sections in the Mailbox Behaviors panel has a distinct role. The table below describes what Apple Mail stores in each mailbox, what the key options are, and what breaks when the setting is wrong.

MailboxWhat Apple Mail stores hereKey setting optionsCommon failure if misconfigured
DraftsIn-progress messages auto-saved while composingStore on server (recommended) or on this MacEach auto-save creates a new copy on the server instead of updating the existing draft
SentA copy of each message you sendStore on server, on this Mac, or do not store copiesTwo Sent folders appear when the server also saves a copy independently through SMTP
JunkMessages Apple Mail or the server flags as spamStore on server or on this MacJunk accumulates locally only, invisible to other clients and server-side filtering rules
TrashDeleted messages before permanent erasureStore on server; erase after one day, one week, one month, or when quitting MailDeleted messages are permanently removed immediately if the mapping is broken or set to immediate deletion
ArchiveMessages moved out of the inbox without deletionChoose which server folder to use as ArchiveArchived messages land in the wrong server folder, invisible to other clients or split across two folders

What breaks when the mapping is wrong#

The symptoms of a misconfigured Mailbox Behaviors panel divide into three categories: duplicates, disappearances, and misrouting. Understanding which symptom maps to which setting is the fastest way to diagnose the problem before opening the panel.

Duplicate Sent folders are the most common complaint. They appear when Apple Mail stores a copy of each outgoing message in an IMAP Sent folder while the server independently saves another copy to its own folder through the SMTP layer. Gmail always saves a sent copy to [Gmail]/Sent Mail regardless of what the client does. If Apple Mail is also saving to a separate IMAP Sent folder, every sent message appears twice. The fix is to open Mailbox Behaviors for that account, go to the Sent section, and point Apple Mail at the same folder the server already uses — or, if the server saves automatically, configure Apple Mail to not store additional copies.

Deleted messages not going to Trash is the second most-reported problem. If the Trash mailbox maps to a folder that does not exist, or if the deletion behavior is set to remove messages immediately, messages deleted from Apple Mail vanish rather than landing somewhere recoverable. Confirm the Trash setting points to an existing server folder and that the erase-after period is set to something other than immediate removal.

Drafts duplicating on every keystroke is the most disorienting failure. Apple Mail auto-saves a draft at short intervals while you compose. If the Drafts folder mapping is inconsistent — Apple Mail writes to a local folder while the IMAP sync is also pushing to a server-side Drafts folder — each auto-save can create a new message on the server rather than updating the existing one. By the time you send, dozens of draft copies may be sitting in your Drafts folder. Setting Drafts to store on the server, pointed at the correct server folder, resolves it.

Check for misrouted messages before changing the Trash mapping

If Trash was previously mapped to the wrong server folder, messages you deleted may already be in that folder rather than permanently erased. Before updating the Trash setting, inspect every folder in the account's sidebar for unexpected messages. Changing the mapping going forward does not move messages that already landed in the wrong folder.

How to change Mailbox Behaviors per account in Apple Mail#

The menu path changed in macOS Ventura. On Ventura and later, including Sequoia, the menu is Mail then Settings. On Monterey and earlier, the menu is Mail then Preferences. Once inside, the steps are identical across macOS versions.

  1. 1

    Open Mail Settings

    Choose Mail in the menu bar, then Settings on macOS Ventura and later, or Preferences on macOS Monterey and earlier. The keyboard shortcut is Command-comma on all versions.

  2. 2

    Select the account

    Click the Accounts tab at the top of the Settings window. Select the specific account you want to configure in the left column. Each account has its own independent Mailbox Behaviors panel — you need to configure each account separately.

  3. 3

    Click Mailbox Behaviors

    Click the Mailbox Behaviors tab in the detail pane on the right side. You will see sections for Drafts, Sent, Junk, Trash, and Archive, each with its own settings.

  4. 4

    Adjust each mapping

    For each mailbox type, use the dropdown to choose whether messages are stored on the server or on your Mac, and select which server folder to use. For Sent on Gmail, select [Gmail]/Sent Mail. For Trash, choose a server folder and set an erase duration rather than immediate removal.

  5. 5

    Verify the result

    Send a test message to yourself and confirm it appears in one Sent folder rather than two. Delete a test message and verify it lands in the Trash folder you mapped, visible with the correct server folder name in the Mail sidebar.

Diagram of toggle-style settings representing independent per-account mailbox behavior options, each configured separately
Mailbox Behaviors settings are per-account in Apple Mail. A change made for one account does not affect any other account, even accounts on the same server type.

Archive versus Trash: how Apple Mail treats each differently#

Archive and Trash both remove a message from the inbox, but they differ in what happens to the message afterward, and using the wrong one produces unexpected results.

ActionWhere the message goesDeletion timerRecoverable?
ArchiveMoves to the server folder assigned as Archive in Mailbox BehaviorsNone — the message stays in Archive until you deliberately delete itYes, at any time, by opening the Archive folder in Mail or another IMAP client
TrashMoves to the Trash folder on the serverDeleted after the erase duration you set: one day, one week, one month, or on quitYes, until the erase duration expires — after that the message is gone from the server
Delete immediatelyMarks the message as deleted without moving it to a holding folderPermanently removed on the next IMAP syncNo — the message is not recoverable after expunge

The Archive folder assignment is especially important on Gmail. In Gmail's architecture, archiving a message means removing it from the Inbox label while leaving it accessible in All Mail. If you point Apple Mail's Archive mailbox at [Gmail]/All Mail, the Archive button in Apple Mail behaves identically to the Archive button in Gmail's own apps. If the Archive folder is set to a folder Apple Mail created independently — often called Archive — archived messages end up in a folder Gmail does not natively surface, and the behavior looks different depending on which client you use to access the same account.

The practical distinction: use Archive for messages you are done acting on but may want to search or reference later. Use Trash for messages you are done with entirely, and set the erase duration in Mailbox Behaviors to a window that gives you time to recover accidental deletions. One week is a reasonable minimum for most people. If your erase duration is set to one day, a message deleted Monday night may be gone before you notice the mistake Tuesday morning.

Common misconceptions about Mailbox Behaviors#

Three beliefs are responsible for most of the misdiagnosed problems in Apple Mail support threads. Clearing them up first saves time when the symptoms appear.

The first is that Mailbox Behaviors is a global setting. It is per-account. Changing the Drafts setting for your iCloud account has no effect on your Gmail or Exchange account, and adding a new account to Apple Mail triggers a fresh auto-detection that may or may not map correctly. Check the Mailbox Behaviors panel any time you add an account, especially on a server with nonstandard folder names.

The second is that turning off stored sent messages in Apple Mail stops all server-side saving. On Gmail and Exchange, the server saves a sent copy through the SMTP layer regardless of what the client does. Disabling sent storage in Apple Mail only prevents Apple Mail from creating an additional copy — the server still saves its own. The correct fix is to point Apple Mail at the same Sent folder the server already uses, which produces one copy in one place.

The third is that Archive is a permanent action comparable to Trash. Archiving does not delete a message or start any timer. It moves the message to a server folder you assign in Mailbox Behaviors, where it remains searchable and retrievable until you deliberately delete it. Trash starts a countdown; Archive does not.

Auto-detection runs once at account setup and does not self-correct

If Apple Mail mis-detected your server's Sent or Trash folder when you first added the account, it will not automatically fix the mapping later, even if the server's folder structure changes afterward. If your server administrator renames or reorganizes folders, open Mailbox Behaviors for each affected account and update the mapping manually.

How AI Emaily handles multi-account IMAP folder mapping#

The per-account folder mapping problem that Mailbox Behaviors addresses grows more complex the more accounts you manage, because Gmail, Outlook, iCloud, and standard IMAP servers each implement special-use folder attributes differently. AI Emaily is an AI-native email client built for professionals running multiple accounts from a single interface. When you connect an account, AI Emaily reads the server's special-use attributes and resolves Sent, Drafts, Trash, and Archive folder mappings at the connection layer, so messages land in the correct server folder from the first send — no manual configuration required. We build AI Emaily; you can connect your first account and verify how the mapping resolves at aiemaily.com.

The distinction from Apple Mail is scope. The Mailbox Behaviors panel is a manual override for when auto-detection fails. AI Emaily treats provider-specific conventions — Gmail's label architecture, Exchange's Deleted Items folder name, iCloud's special-use flags — as known cases built into the connection logic rather than edge cases that surface as user-visible problems. If you are managing enough accounts that Apple Mail's per-account configuration has become a recurring maintenance task, that architecture is worth evaluating on a 7-day free trial.

Frequently asked

Nafiul Hasan

Written by

Nafiul Hasan

Nafiul Hasan is an entrepreneur and AI automation system builder with 10+ years of experience turning messy, manual workflows into reliable automated systems. He designs and ships AI enterprise solutions end-to-end — the agent logic, the data plumbing, and the product people actually use — and founded AI Emaily to give busy professionals their attention back. He writes here from the builder's seat: what works, what breaks, and how to put AI to work without giving up control.

EntrepreneurAI Automation System BuilderAI EnthusiastBuilds AI Enterprise Solutions10+ years experience
More from Nafiul
Ready when you are

Multiple accounts, folder mapping handled automatically

AI Emaily connects to Gmail, Outlook, iCloud, and standard IMAP accounts and resolves Sent, Drafts, Trash, and Archive folder mappings at the connection layer — no per-account Mailbox Behaviors panel to configure. 7-day free trial at aiemaily.com.

  • 7-day free trial
  • Cancel anytime
  • Every provider