New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
TroubleshootingUpdated 4 Nov 2026

IMAP folders not syncing (Sent, Drafts, Trash): causes and fixes

Why Sent, Drafts and Trash folders fail to sync over IMAP, how special-use folder mapping, subscriptions and client settings cause it, and the exact fixes for Outlook, Thunderbird, Apple Mail and mobile apps.

CB
Written by Chloe Bennett
Customer Success Manager, Migrations
Reviewed by Jonas Lindqvist
  • Published13 Jul 2023
  • Read time7 min
  • Length1,357 words
Share this guide

When Sent, Drafts or Trash do not sync over IMAP, the usual cause is that the client and the server disagree about which folder plays which role. The client is saving sent mail or drafts in a local folder, or in a differently named server folder, so other devices never see them. Fix it by mapping each special folder to the matching server folder in the account settings, subscribing to the folders you want, and turning on the option that stores sent messages on the server.

IMAP keeps mail on the server and lets every device show the same state, but the roles of Sent, Drafts, Trash, Junk and Archive are conventions that clients must discover or be told. This guide explains how that discovery works, how to see what the server really offers, and the exact settings to check in the most common clients.

Most common causeThe client stores Sent or Drafts in a local folder instead of the server folder
Second causeFolder not subscribed, or mapped to a differently named folder
Best testRun LIST on the server and compare to the client folder list
Gmail noteFolders are labels with their own IMAP behaviour; Gmail also saves sent mail itself

How IMAP folder roles work

A mailbox on an IMAP server is a tree of folders, one of which is always named INBOX. The names of the others are not fixed: one server calls the sent folder Sent, another Sent Items, another INBOX.Sent. To help clients, the special-use extension (RFC 6154) lets a server mark folders with attributes such as \Sent, \Drafts, \Trash, \Junk and \Archive. A modern client reads these attributes and maps the roles automatically. If the server does not advertise them, the client guesses from the names, and guesses can go wrong. For background on the protocol see what IMAP is and how it works.

Typical symptoms and causes

SymptomLikely cause
Sent mail visible on one device onlyThat client stores sent messages locally, or in a folder the server does not expose
Duplicate Sent folders (Sent, Sent Items, Sent Messages)Role guessed differently by different clients, or each client created its own
Drafts do not appear on the phoneDrafts mapped to a local folder, or the server folder is not subscribed
Deleted mail does not go to TrashClient set to delete immediately or mark as deleted without moving
A folder created on the server is missingNot subscribed in this client
Folder list is empty or only INBOX showsWrong IMAP path prefix or a namespace problem
Changes appear after a long delayFolder is not checked regularly or IDLE push is disabled
Messages marked deleted but still visibleServer expunge not performed

See what the server really offers

Before changing client settings, find out what the server lists. You can do this with a raw IMAP session, which removes any client from the equation. Use a throwaway test password, or an app password where required.

openssl s_client -connect imap.example.com:993 -quiet
a1 LOGIN [email protected] "PASSWORD"
a2 LIST "" "*"
a3 LSUB "" "*"
a4 LOGOUT

The output of LIST shows each folder with its attributes and the hierarchy delimiter, for example:

* LIST (\HasNoChildren \Sent) "/" "Sent Items"
* LIST (\HasNoChildren \Drafts) "/" "Drafts"
* LIST (\HasNoChildren \Trash) "/" "Deleted Items"
* LIST (\HasNoChildren) "/" "Archive"
* LIST (\HasChildren) "/" "INBOX" 

LSUB lists subscribed folders, which is what many clients display. A folder in LIST but missing from LSUB is not subscribed. Note the exact names, the delimiter and any prefix such as INBOX., since they must match the client configuration. Server names and attributes differ by provider, so treat the examples as illustrations.

Fix the settings by client

ClientWhat to check (menu names change between versions)
ThunderbirdAccount Settings, Copies and Folders: place sent messages and drafts in the server folders, not Local Folders. Right click the account, Subscribe, tick the folders.
Outlook (classic and new)For IMAP accounts, set the Sent Items and Deleted Items folders to the server folders. Folders may need a refresh or a profile repair.
Apple MailMailbox Behaviors for the account: store sent, draft and deleted messages on the server and choose the matching mailbox for each. Then rebuild the mailbox if needed.
iPhone and iPadMail account Advanced settings: choose the Drafts, Sent, Archive and Deleted mailboxes from the server list.
Android mail appsAccount settings, folders: select the server folders for sent, drafts and trash, and enable syncing for them.
WebmailUsually correct by default. If a desktop client disagrees, trust the webmail view as the server state.

Different clients often create their own folder on first connection, which is how Sent and Sent Items both appear. Choose one, point every client at it, and delete the empties afterwards once their contents have been moved.

Step by step repair

  1. Open webmail and note which folders exist and where your recent sent mail and drafts actually are.
  2. In each client, open the account's server settings and note the IMAP server, port and the path prefix.
  3. Set the special folders (Sent, Drafts, Trash, Junk, Archive) to the matching server folders. Do not leave them on local or on this computer folders.
  4. Subscribe to the folders you want to see and refresh the folder list.
  5. Enable storing sent messages on the server. If you send through your provider's SMTP server, check whether the provider already saves a copy itself so that you do not get duplicates. Gmail is an example, see below.
  6. Move any messages saved in the wrong local folder into the correct server folder by dragging them, and wait for the sync to finish.
  7. Restart the client and, if it still disagrees with the server, remove and re-add the account. This forces a fresh folder discovery; your mail stays on the server.

Gmail and labels

Gmail presents labels as IMAP folders, and its behaviour differs from conventional servers. A message with several labels appears in several folders though it is stored once. Deleting from a folder may only remove the label, and the settings under Forwarding and POP/IMAP in Gmail control what appears and what deleting does. Gmail also files a copy of mail sent through its own SMTP server in the sent label automatically, so a client that saves a second copy produces duplicates. Check the options in the Gmail settings and in the client, and read IMAP settings for common providers and Gmail SMTP settings. Gmail's menus change, so check its current help pages.

Sent mail not appearing even though the sending works

If a message is delivered but never shows in Sent, the SMTP side worked and the IMAP save did not. Many clients perform two separate operations: send over SMTP, then append a copy to the Sent folder over IMAP. If the append fails because the folder name is wrong, the account is over quota, or the connection drops, you see no copy and often no error. Check the free space, as explained in mailbox full and over quota errors, and see the dedicated guide sent emails not showing in the Sent folder.

Troubleshooting

ProblemLikely causeWhat to do
Folder list emptyWrong IMAP path prefixClear the prefix, or set it to the one shown by LIST
Two Trash foldersClient created its ownSet the Trash role to one folder and delete the other
Slow or incomplete syncLarge folder, limit on sync window, no IDLERaise the sync window, and enable push or shorten the poll interval
Server error when saving draftOver quota or invalid folder nameFree space, correct the mapping
Works in webmail, not in the appApp configured with wrong role mappingRe-map folders and re-add the account if needed
POP3 account, not IMAPPOP downloads and removes mail, so no folder syncSwitch the account to IMAP. See IMAP, POP3 and SMTP compared

Prevention and next steps

  • Use IMAP, not POP3, on every device that should share state.
  • Set the folder roles on the first device and verify them in webmail.
  • Avoid local folders for anything you want to see elsewhere.
  • Keep the mailbox under quota, because a full mailbox breaks saving drafts and sent copies.
  • After a server migration, check the folder names and re-run discovery on every client.

Sending application mail rather than personal mail? Use an authenticated relay for outgoing messages and keep your mailboxes for people.

Explore the SMTP relay

References and further reading

Frequently asked questions

Why is my Sent folder not syncing over IMAP?

Your client is probably saving sent mail in a local folder or a differently named server folder. Map Sent to the server folder in the account settings.

What are special-use folders?

Folders that an IMAP server marks with attributes such as Sent, Drafts and Trash (RFC 6154) so that clients can map them automatically.

Why do I have two Sent folders?

Different clients created their own folder or guessed the name differently. Choose one, point all clients at it and delete the other.

How do I check which folders the server has?

Log in with an IMAP session and run LIST and LSUB, or compare with the webmail folder list.

Will removing and re-adding the account delete my mail?

No. IMAP mail is stored on the server, so re-adding the account only forces the client to rediscover the folders.

Topics#imap#sync#folders#email clients#troubleshooting
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales