What Are IMAP Special-Use Folders and Why Do They Matter?

The short answer
IMAP special-use folders are mailboxes tagged with a standard attribute — like \Sent or \Trash — so the server tells each email client which folder is which, instead of the client guessing by name. Duplicate Sent folders appear when a client ignores or misses that tag and saves sent mail to a folder it creates itself.
IMAP special-use folders are standard tags that tell your email app which folder is Sent, Trash or Drafts — and why duplicate Sent folders appear.
On this page
If you have wondered what IMAP special-use folders are, and why your Sent folder keeps splitting in two across devices, the short answer is simple. They are ordinary mail folders that carry a standard label telling your email app what each one is for. Instead of an app guessing that a folder named Sent holds your sent mail, the server annotates that folder with the attribute \Sent, and every app that reads the annotation agrees on where sent mail goes.
This small piece of the IMAP standard solves a surprisingly common headache: two Sent folders, a missing Archive, drafts that appear twice. Those problems almost always trace back to clients disagreeing about which folder is which. Special-use annotation is the mechanism meant to keep them in agreement. This guide explains how it works, why it breaks, and what to do about it.
How do IMAP special-use folders work?#
Every IMAP account is a set of folders — the protocol calls them mailboxes — and a client discovers them with the LIST command. For a long time, a LIST response returned only each folder's name. The client then had to guess a folder's job from that name, which works until two clients guess differently.
RFC 6154, published in March 2011, fixed this with the SPECIAL-USE extension. It defines a small set of attributes a server can attach to a folder to declare its role. A client that wants them asks for the LIST command's SPECIAL-USE return option, and the server returns the attribute next to the folder. A server that supports the extension advertises the SPECIAL-USE capability in its CAPABILITY response.
IMAP's current version, IMAP4rev2, was published as RFC 9051 in 2021 as the successor to IMAP4rev1; the special-use attributes themselves are defined by RFC 6154. The standard lists seven of them. Each is a hint about a folder's purpose, not a rename — the folder keeps whatever name it already has.
| Attribute | What it marks (RFC 6154) |
|---|---|
| \Sent | Holds copies of messages that have been sent |
| \Drafts | Holds draft messages being composed but not yet sent |
| \Trash | Holds messages deleted or marked for deletion |
| \Junk | Holds messages deemed to be junk mail |
| \Archive | Used to archive messages |
| \All | Presents all messages in the user's message store |
| \Flagged | Presents all messages marked as important |
Support is optional
Why do I have two Sent folders?#
When you send a message, most clients keep a copy by uploading it to your Sent folder with the IMAP APPEND command, unless the server saves the copy for you. To do that, the client has to know which folder is the Sent folder.
Without a special-use tag, the client falls back to a name it expects. One client looks for Sent, another for Sent Items, a third for Sent Messages or Sent Mail. If the expected name is not there, the client often creates it. That is how you end up with two Sent folders holding different messages across your devices.
Special-use annotation removes the guesswork. The folder tagged \Sent is the Sent folder, whatever it happens to be named, so every compliant client writes to the same place. The same mechanism is why a client can reliably find Trash tagged \Trash, file to an Archive tagged \Archive, or store drafts in a folder tagged \Drafts without inventing a duplicate.
The missing-Archive problem is the mirror image. If your server never flagged a folder with \Archive and no client ever created one, an app that offers an Archive action has nowhere agreed-upon to put the message — so it either makes its own Archive folder or the button appears to do nothing.
Two Sent folders is not the same as two copies
Special-use annotation vs. matching by folder name#
Special-use annotation is one of two ways a client can decide a folder's role. The older way is to match on the folder's name. Both still exist, and most clients use name-matching as a fallback when a server offers no tags.
The difference shows up most across languages and clients. A name-matching client that expects Sent will not recognize Enviados, Gesendet or Elements envoyes as the Sent folder. A special-use tag carries no language, so it works the same everywhere.

| Dimension | Special-use annotation | Matching by folder name |
|---|---|---|
| How the role is decided | The server declares it with a LIST attribute such as \Sent | The client guesses from the folder's name |
| Agreement across clients | High — every compliant client reads the same tag | Low — clients expect different names |
| Non-English folder names | Unaffected — the tag carries no language | Breaks on names like Enviados or Gesendet |
| Server support required | Yes — the server must advertise SPECIAL-USE | No — works against any IMAP server |
| Tendency to spawn duplicates | Low when the tag is present and honored | High |
Common misconceptions about special-use folders#
A few beliefs about special-use folders cause most of the confusion. Here is what each one gets wrong.
- It is a Gmail feature. It is not — special-use is an IMAP standard defined by RFC 6154, and most modern IMAP servers support it, not a single provider.
- The tag renames the folder. It does not. Your Sent folder keeps its name; \Sent is metadata describing the folder's role, read by clients rather than shown to you.
- Every server supports it. Support is optional. The RFC says any server may support any combination of the attributes, or none at all, so older or minimal IMAP servers may expose no special-use tags.
- It stops duplicate sent messages. It stops duplicate Sent folders. Two copies of the same message inside one folder come from the server and the client both saving a copy, which is a separate setting.
- A folder can have only one role. A mailbox may carry more than one special-use attribute, per the RFC — none, one, or several at once.
- There was never a standard before 2011. Before RFC 6154, Google and Apple used a non-standard XLIST command to convey folder roles; the RFC replaced it with an interoperable mechanism.
How special-use folders show up in AI Emaily#
The reason your Sent folder can fragment across devices is that each client independently decides which mailbox is which. An AI email assistant that unifies several accounts has to get that mapping right, or it files sent mail and archives into the wrong place. AI Emaily reads each server's special-use attributes when it connects a mailbox, and falls back to name-and-language heuristics only when a server does not advertise them — so a Sent action lands in the folder the server itself calls \Sent.
We build AI Emaily, so treat this as the vendor describing its own product. Special-use mapping is table stakes, not magic: if your server never flagged an Archive folder and no client ever created one, no app can invent the annotation for you — you may still need to set the folder's role once.
You can watch how it maps your existing folders on a real account during the 7-day free trial, which takes a card and charges nothing if you cancel before day seven. See AI Emaily pricing for plan details, or the connect-a-mailbox guide for how folder mapping runs on first sync.
Frequently asked
See it in AI Emaily
Keep reading
Sources

Written by
Nafiul HasanNafiul 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.