Gmail
Gmail can be connected two ways: a quick app password setup, or a full OAuth connection using your own Google Cloud credentials.
Option 1: App password (Custom)
- When creating or editing a brand, select Custom as the email provider instead of Gmail.
- Enter your Gmail address and fill in Gmail's SMTP/IMAP host and port details.
- Continue to the next page and enter your Google app password.
Getting a Google app password
You'll need 2-Step Verification turned on for your Google Account first. Once that's on:
- Go to Google App Passwords.
- Enter a name (e.g. "Aimly") and click Generate.
- Copy the 16-character app password — Google only shows it once.
Paste that password into Aimly's app password field to complete the connection.
Option 2: OAuth (Gmail provider)
Selecting Gmail directly (instead of Custom) uses full OAuth sign-in instead of an app password, but requires you to bring your own Google API credentials first.
- Create OAuth credentials in the Google Cloud Console:
- Create or select a project.
- Enable the Gmail API under APIs & Services → Library.
- Under APIs & Services → Credentials, create an OAuth client ID.
- Choose Desktop app (or Web application, depending on your setup) as the application type.
- Download the resulting file — this is your
credentials.json.
- In Aimly, select Gmail as the provider and upload your
credentials.json. - Aimly opens a new tab for Google's OAuth sign-in.
- Sign in and approve access.
Once approved, control returns to Aimly and your Gmail mailbox is connected via OAuth.