Skip to content

Setting up Gmail

You currently connect Gmail with an app password. Signing in with Google is temporarily unavailable: Google limits the number of users until YouniqMail has completed Google’s review, and that limit has been reached. Accounts you set up earlier by signing in with Google keep working.

Your regular Google password does not work. Google does not allow it for email programs.

  1. Two-step verification must be active in your Google account, otherwise there are no app passwords.
  2. Open the App passwords page of your Google account and create a new password, for example named “YouniqMail”.
  3. Google shows you 16 characters. Copy them.

You can reach both pages directly from the wizard via the links Turn on two-step verification and Manage app passwords.

  1. Go to Settings → Email Accounts and choose Add Email Account.
  2. Pick Gmail.
  3. Enter Your name and your Gmail address.
  4. Paste the app password into the App password field. Whether you paste it with or without spaces does not matter.
  5. Test Connection, then Continue and Finish.

Test Connection checks receiving and sending. If the test fails, the message shows the text Google rejected the sign-in with.

If you create a new app password later, enter it under Settings → Email Accounts for the account with Change IMAP/SMTP Settings. Save Changes appears there only after a successful test. You do not need to set up the account again for that. Accounts with an app password have this button; for accounts that sign in with Google, see If it does not work below.

YouniqMail fills these in automatically. You only need them if you set up the account by hand.

Server Port Encryption
Incoming (IMAP) imap.gmail.com 993 SSL/TLS
Outgoing (SMTP) smtp.gmail.com 465 SSL/TLS

The username is your full Gmail address in both cases.

Labels and tags are the same thing. Gmail works with labels, several of which can be attached to the same email. YouniqMail does not show them as folders but as tags on the emails; the sidebar lists only the inbox and the system folders such as Sent, Drafts, Spam and Trash. Tags and labels follow each other in both directions:

  • Adding and removing: A tag you add in YouniqMail shows up in Gmail as a label, in the browser and in the Gmail app. Remove it, and the label goes too. Labels you add or remove in Gmail are picked up by YouniqMail.
  • Renaming or deleting in YouniqMail: Rename a tag, and the label in Gmail gets the new name too. If Gmail does not allow the new name, for example because Gmail uses it itself or another tag already has a label of that name, the label keeps its old name and YouniqMail tells you so. Delete a tag, and YouniqMail deletes the label as well; if you only hide it, the label stays in Gmail. Without a connection, YouniqMail catches up later.
  • Renaming or deleting in Gmail: Rename a label in Gmail, and the tag keeps its emails and its color. If the tag had the label’s name, it takes the new one. Delete a label in Gmail, and the tag comes off its emails, usually at the next sync. If it is then on no email at all and no other Gmail account has this label, YouniqMail deletes the tag entirely. YouniqMail notices the renaming and the deletion of the empty tag when it fetches the folder list again: within about 20 minutes, or at once with Sync emails.

YouniqMail also stores every tag as an IMAP keyword, the way Thunderbird does, so programs such as Thunderbird see it as well. A tag named like a label Gmail uses for itself, such as “Inbox” or “Spam”, stays a keyword only. A tag’s color stays in YouniqMail.

Earlier tags follow. Tags that are on the server only as keywords so far, say because an older version of YouniqMail or Thunderbird added them that way, get their labels in the background. From 100 emails on, YouniqMail shows the progress and offers Cancel. The rest then follows the next time YouniqMail starts.

The switch for it. Under Settings → Email Accounts, the Gmail account has a Gmail labels section with the switch Save tags as Gmail labels. It is on. Turn it off, and YouniqMail stores tags as keywords only, and renaming or deleting a tag leaves the labels in Gmail as they are. Labels from Gmail still become tags. Turn it back on, and the tags added in the meantime get their labels.

Tags instead of folders. Gmail turns every new folder into a label. In a Gmail account, New Folder… therefore offers you a tag instead. With the switch above turned on, it shows up in Gmail as a label as soon as you set it on an email.

Accounts from another program. A Gmail account the import assistant took over, or one you added with Setup manually (custom IMAP / SMTP), behaves the same. If an older version of YouniqMail showed its labels as folders, they become tags and the folders leave the sidebar; nothing changes in Gmail. Rules that moved or copied into such a folder now add the tag, and a move archives the email as well. A rule where that is not clear-cut is switched off and marked Needs changes under Settings → Automations. Smart folders that used such a folder check the tag instead, and mappings of such folders under Mapping folders are dropped. A notice lists what was adapted and what you need to adapt yourself.

Archiving takes the email out of the inbox. Gmail has no archive folder. Archive removes the email from the inbox; in Gmail it then remains under “All Mail” with all its labels. YouniqMail does not show that folder, because it contains every email of the account. You therefore find archived emails in the Gmail web interface. That is also why archiving works only in the inbox: in other folders the button is missing. If a selection also contains emails from other folders, YouniqMail reports that on Gmail only messages in the inbox can be archived, and those stay where they are. Under Mapping folders, leave Archive on Automatic for Gmail.

Emails under a label only. An email that sits in Gmail under a label only and not in the inbox, for example because a filter skips the inbox or because it was archived elsewhere, does not show up in YouniqMail, and search does not find it. You find it in the Gmail web interface.

Gmail files sent mail itself. YouniqMail does not upload a copy of its own to Sent, so nothing shows up twice. This applies to mail sent through smtp.gmail.com and signed in with the same Google account. When mail goes out through a different outgoing mail server or a different Google account, YouniqMail uploads the copy itself.

If the connection test keeps failing, one of these usually helps:

  • Two-step verification is not active. Without it there are no app passwords.
  • Regular password used. Google rejects it for email programs.
  • Work or school account. Some organizations block app passwords or access by email programs. Only the administration can change that.

If Google rejects the password of an account you have set up, for example because you revoked the app password, the account shows Sign-in refused under Settings → Email Accounts. YouniqMail then pauses the account and tries again every 30 minutes, or right away when you sync the account. With Enter password you enter a new app password.

If you set up the account earlier by signing in with Google and Google ends the access, it shows Sign-in expired. Since signing in with Google is currently unavailable, enter an app password via Enter password. Emails, folders and settings are kept.

More pointers under My emails are not arriving.