How to Create and Scope App Passwords (IMAP, SMTP-only, DAV)

Created by Alice Joynson-Ellis, Modified on Sun, 15 Nov at 7:22 PM by Curtis Hammock

When Two-Factor Authentication (2FA) is enabled on a mailbox, or when you want to grant limited access to an external device or script without exposing your primary mailbox password, you can generate scoped App Passwords.


How to Generate an App Password

  1. Log into the Account Admin portal (purelymail.com/manage/login).
  2. Navigate to Users and click on the target user mailbox (note: the App Passwords section appears when editing an existing user, after initial user creation).
  3. Scroll down to App Passwords and click Add new.
  4. A 20-letter lowercase App Password (grouped into 5 blocks of 4 letters) is generated and displayed immediately with all five scopes checked by default. Copy the password right away, as it is only shown once.
  5. Enter a descriptive label in the Name field (e.g., iPhone Apple Mail or Website Contact Form).
  6. Uncheck any Scope boxes that the application does not need.
  7. Click Save at the bottom of the user page to save your scope and name changes.

Understanding App Password Scopes

Purelymail lets you restrict each App Password to only the protocols it requires:

Scope Capability Recommended For
IMAP Read, sync, and manage email folders Standard email clients (Thunderbird, Apple Mail, Outlook, Gmail app)
SMTP Send outgoing email Standard email clients, website contact forms, scanners, printers, scripts
POP3 Download messages via legacy POP3 Single-device POP3 mail clients
DAV Sync Contacts (CardDAV), Calendars (CalDAV), and Files (WebDAV) DAVx⁵, macOS/iOS Calendar & Contacts, WebDAV mounts
Sieve Manage server-side mail filters via ManageSieve (port 4190) External ManageSieve script editors

Security Best Practice: When configuring a website contact form, WordPress SMTP plugin, printer, or automated script to send email, keep only the SMTP scope checked. If that external server is ever compromised, the leaked App Password cannot be used to read your inbox via IMAP or POP3.


Important Rules & Behaviors

  • Admin Setup Required: App Passwords are created and managed by the Admin User in the Account Admin portal under Users > [Select User]. Standard users cannot create App Passwords from Webmail.
  • Independent From Mailbox Password: Each App Password stores its own encrypted key copy. Changing a user's main mailbox password does not invalidate existing App Passwords; they remain active until deleted in the App Passwords table.
  • Cannot Log Into the Website: App Passwords work with third-party email clients, DAV clients, and SMTP scripts, but cannot be used to sign into Webmail (inbox.purelymail.com) or the Account Admin portal.
  • Spaces Are Ignored: You can paste an App Password with or without spaces; Purelymail strips whitespace automatically during authentication.
  • Limit per User: Up to 50 App Passwords can be active per user mailbox.

Still Need Help?

If you've followed these steps and are still running into trouble, check our Purelymail Support guide.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article