Skip to content
86% off$349 $48.86code BF2026

Docs

Mailloft docs27 pages

Create an app password for Gmail, iCloud, Fastmail or Yahoo

How to create an app password for Gmail, iCloud, Fastmail or Yahoo and add it to Mailloft, with the links the app uses and each Gmail error explained.

Updated 6 min read

On this page

This page shows you how to create an app password for Gmail, iCloud, Fastmail or Yahoo, add it to Mailloft, and fix it when Google rejects it. Gmail needs 2-Step Verification turned on first, because Mailloft has no "Sign in with Google" and an app password is the only way in.

Why a mail app like Mailloft needs an app password

Mailloft reads mail over IMAP and sends over SMTP. For iCloud, Gmail, Fastmail and Yahoo, it signs in with an app password, not your main account password. An app password is a separate password your provider creates for one mail app. You can revoke it on the provider's site without changing your main password.

Gmail and Google Workspace accept only an app password in Mailloft:

  • Mailloft has no Google sign-in. Your normal Google password won't work here.
  • Google only lets you create app passwords when 2-Step Verification is on for your Google account.

For Outlook, Hotmail and Microsoft 365, see Outlook, Hotmail and Microsoft 365 accounts in Mailloft. Many Microsoft accounts no longer accept app passwords.

Where the app password goes in Mailloft

  1. Open the Add a Mail Account wizard. Click Add Account in the sidebar footer, or click + in Settings ▸ Accounts.
  2. On the You step, enter your name and email address. Mailloft picks the provider from your address. Click Continue.
  3. On the App Password step, click Open <Provider>'s App-Password Page. For Gmail, the button is Open Google's App-Password Page. The page opens in your browser.
  4. Create the password on the provider's page (steps below), then copy it.
  5. Paste it into the App password field and click Continue.
  6. On the Servers step, Test Connection runs automatically. "Signed in to IMAP and SMTP." means the password works.
  7. Click Continue, choose an account colour on the Finish step, then click Add Account.
Mailloft account wizard App Password step for Gmail with numbered steps, the App password field and Open Google's App-Password Page
Create the app password on Google's page, then paste it here.

The App Password step also shows each provider's numbered steps, so you can follow along in the app.

Create a Gmail or Google Workspace app password

  1. Turn on 2-Step Verification for your Google account if it isn't on already.
  2. Open Google's app-password page at myaccount.google.com/apppasswords, or use the button in Mailloft.
  3. Sign in if Google asks. Name the password something you'll recognize, such as "Mailloft", and create it.
  4. Copy the 16-letter password Google shows.
  5. Paste it into Mailloft's App password field.

Things to know:

  • The password is 16 letters with no digits or symbols. Spaces are fine; Mailloft removes them. If the count is off, Mailloft shows a live hint such as "That's 15 letters. Google app passwords have 16."
  • When you change your Google password, your old app passwords stop working. Create a new one and update it in Mailloft (see below).
  • Google Workspace addresses on your own domain work too. Enter the address as usual. When you click Continue, Mailloft checks your domain's mail host once and shows "Your domain's mail is hosted by Google."
  • If Google won't let you create an app password, check that 2-Step Verification is on. For a work or school account, ask your Google Workspace admin.

Google's help: Sign in with app passwords.

Create an iCloud app-specific password

Apple calls these "app-specific passwords". Your Apple Account needs two-factor authentication to create one.

  1. Open your Apple Account security settings at account.apple.com, or use the button in Mailloft.
  2. Sign in and find App-Specific Passwords.
  3. Generate a new password and label it, for example "Mailloft".
  4. Copy the password and paste it into Mailloft's App password field.

This works for icloud.com, me.com and mac.com addresses. See Apple's help on app-specific passwords.

Create a Fastmail app password

  1. Open Fastmail's app-password settings at app.fastmail.com/settings/security/apps, or use the button in Mailloft.
  2. Create a new app password. If Fastmail asks what it can access, pick an option that covers reading mail (IMAP) and sending (SMTP).
  3. Name it "Mailloft", then copy the password.
  4. Paste it into Mailloft's App password field.

See Fastmail's help on app passwords.

Create a Yahoo app password

Yahoo isn't in the provider picker on the welcome window, but it is in the setup wizard. Mailloft picks it automatically for yahoo.com, ymail.com, rocketmail.com and Yahoo's country domains.

  1. Open Yahoo's app-password page at login.yahoo.com/account/security/app-passwords, or use the button in Mailloft.
  2. Sign in, enter a name such as "Mailloft", and generate the password.
  3. Copy it and paste it into Mailloft's App password field.

Other IMAP providers

For any other IMAP/SMTP host, use the password your provider gives mail apps. Some hosts accept your normal mailbox password and others require an app password, so check your provider's help.

What Google's error messages in Mailloft mean

Message in MailloftWhat it meansFix
"That's N letters. Google app passwords have 16."The pasted text is too short or too long.Copy the full password again from Google's page.
"An app password is 16 letters, no digits or symbols. Your Google password won't work here."What you entered isn't an app password, probably your Google password.Create an app password and paste that instead.
"Google wants an app password here, not your Google account password. Create one on the app-password page and paste it."Google rejected a normal account password.Click Open Google's App-Password Page and create one.
"IMAP is turned off for this account. Turn it on in Gmail ▸ Settings ▸ Forwarding and POP/IMAP, or ask your Google Workspace admin."The password is fine, but IMAP access is off.Turn IMAP on in Gmail's web settings. For a Workspace account, ask your admin.
"Google blocked this sign-in as unusual. Sign in to Gmail in your browser once, then try again."Google's security checks flagged the sign-in.Sign in to Gmail in your browser, then click Test Connection again.
"Google didn't accept this app password. Check the email address, or create a new app password. Old ones stop working when you change your Google password."The password is wrong, revoked, or belongs to another account.Check the email address. If it's right, create a new app password.
"Google is limiting sign-ins for this account right now. Wait a few minutes and try again."Too many attempts in a short time.Wait a few minutes, then test again.

For certificate, network and other sign-in errors, see Troubleshoot Mailloft: sign-in, sending and sync.

Change the app password on an existing account

Do this after you revoke a password, create a new one, or change your Google password.

  1. In the sidebar, open the account's … menu and choose Edit Account…, or go to Settings ▸ Accounts and click Edit….
  2. Paste the new password into App Password.
  3. Click Test Connection. "Connected to IMAP and SMTP successfully." confirms it works.

When the server rejects a password, an orange Password needed key badge appears next to the account in the sidebar and in Settings ▸ Accounts. Click it, or choose Enter Password… from the account's menu, to type a new one.

Where the app password is stored

Mailloft keeps the password only in your Mac's Keychain. The wizard says: "Stored only in your Mac's Keychain. Never logged, never sent anywhere but your mail server."

  • The password is not in accounts.json in ~/Library/Application Support/Mailloft/. That file holds server settings only.
  • The Keychain item is a generic password with the service app.macsuite.mailloft.
  • If you turn on Send scheduled mail even when Mailloft is closed (Settings ▸ Writing ▸ Sending), macOS may ask whether "Mailloft Helper" can use the password. Choose Always Allow.
  • If the Keychain prompt was denied or is still waiting, the account shows Password needed. Choose Try Keychain Again or Enter Password… from the account's menu.
  • If saving fails, Mailloft shows "The password couldn't be saved in the Keychain (<detail>). Mailloft will use it until you quit."
  • Removing an account (− in Settings ▸ Accounts, which asks first, or Remove Account in the sidebar menu, which acts immediately) deletes the stored password and cached mail. Nothing is deleted on the server. To retire the password completely, also revoke it on your provider's app-password page.

Every app.
One purchase.