Mapping folders
Five folders play a special role: Sent, Drafts, Trash, Junk / Spam and Archive. YouniqMail needs to know which server folder plays which role. Otherwise sent mail lands in the wrong folder, deleting creates a new “Trash” folder although a trash folder has long existed, or archiving fails because no archive folder is known.
Usually this happens by itself
Section titled “Usually this happens by itself”Modern mail servers label their folders with their role, and YouniqMail adopts that labeling during sync. Where the label is missing, YouniqMail recognizes the usual folder names. With Gmail, Microsoft, iCloud and most large providers there is therefore nothing to do.
Manual work is needed mainly with unusual folder names, or when a
mailbox has lived through years of different programs and collected
several “Sent” folders: Sent, Sent Messages and Gesendete Objekte
side by side are not rare.
Check and change the mapping
Section titled “Check and change the mapping”- Open Settings → Email Accounts.
- Select the account.
- The Folder Mapping section has a selection for each of the five roles. Automatic (Sent) means YouniqMail detected the folder itself. If it shows only Automatic, the role has no folder. A folder name on its own means you mapped it by hand.
- Pick a different folder from the list if needed. The change takes effect immediately, in the sidebar too.
A folder has exactly one role. The inbox and folders that already have another role are greyed out in the list; if it is one of the five roles, it appears in brackets behind the name. To swap two roles, first put one of them on a free folder or on Automatic. The list names folders by their name on the server, while in the sidebar folders with a role carry the name of the role.
The list shows all folders found by the last sync, including those you unsubscribed from in another program. If a freshly created folder is missing, start a sync by hand with Sync emails and select the account again. If there is only a note asking you to sync the account first, the first sync has not delivered any folders yet.
What the mapping controls
Section titled “What the mapping controls”| Role | Controls |
|---|---|
| Sent | Where outgoing mail goes after sending |
| Drafts | Where unfinished mail is stored |
| Trash | Where deleted mail goes |
| Junk / Spam | Where Move to junk moves mail |
| Archive | Where Archive moves mail |
If a role has no folder, YouniqMail creates Trash and Drafts itself when needed. Move to junk fails without a junk folder. Without a Sent folder, the copy of a sent email waits in the outbox with the note “No Sent folder found for this account”. Map a folder, then click Retry now there; YouniqMail does not try again by itself after the mapping.
With Gmail as well as Microsoft 365 and Outlook, the server files the copy of sent mail in Sent itself. YouniqMail does not upload a copy of its own there, so nothing shows up twice. This applies to mail sent through the provider’s outgoing mail server. When mail goes out through a different one, YouniqMail uploads the copy itself. The mapping does not decide where the server files its copy: if you map Sent to a different folder, YouniqMail does not find the copy there and uploads its own after a while, and you end up with two copies.
The mapping also feeds the grouped mailboxes: “All Trash” collects the folders mapped as trash. Accounts with the Exclude from grouped mailboxes setting are missing there.
Creating, renaming and deleting folders
Section titled “Creating, renaming and deleting folders”New folder: Right-click a folder in the sidebar and choose New Folder…. You specify the location and the name, and YouniqMail creates the folder on the server. You can also choose the local folders as the location, even before you have one. Such a folder exists only on your computer and can be created without a connection too. In a Gmail account, the dialog offers you a tag instead: Gmail labels show up in YouniqMail as tags, not as folders. More on this under Gmail.
Order: Top-level folders can be rearranged by drag and drop within their account. Your order stays when YouniqMail syncs the folders with the server. New top-level folders then appear below the ones you arranged. Once you have rearranged folders, a folder’s context menu offers Reset folder order…. After a confirmation, the account goes back to the automatic order.
Renaming: Right-click the folder and choose Rename…. YouniqMail renames it on the server, and its subfolders move along. The emails in it stay as they are; only if the server renumbers them while renaming does YouniqMail download them again. Rules and smart folders that use the folder follow the new name, and your order and the folder’s notifications stay. Local folders are renamed the same way.
Renaming does not move a folder to another place. A folder name must
not contain the server’s separator (usually / or ., the message
names it), and “INBOX” and “Snoozed” are reserved for the inbox and
snoozed emails.
Deleting: Choose Delete Folder… in the context menu. YouniqMail asks first and tells you how many emails and subfolders go with it. The folder is deleted on the server with all its subfolders and emails. The emails do not go to the trash, and this cannot be undone. Local folders, which exist only on your computer, are deleted with Delete Local Folder…. Here too the confirmation names the number of subfolders and emails, and the subfolders go with it. Rules that use a deleted folder pause, and a notice names them along with the smart folders that still use it.
The inbox, folders with a role such as Sent or Trash, and the folder for snoozed emails cannot be renamed or deleted, and neither can a folder that contains one of them. For server folders, both need a connection. While actions you took offline are still waiting for the folder, it works only once they have reached the server. In a Gmail account, labels are tags, which you rename and delete there.
If you rename a folder in webmail or in another program, it shows up in YouniqMail as a new folder at the next sync: YouniqMail downloads its emails again, rules that use it pause, and smart folders keep pointing to the old name. It also loses a role you mapped by hand and its place in your order. Renamed in YouniqMail, all of this is kept.
A folder’s context menu also offers Export as mbox, Force full resync of folder and, for the trash, Empty trash, for the spam folder Delete all junk. If your server cannot remove single emails for good, emails you deleted are still there, marked as deleted. Then Remove deleted messages from server… appears as well.