Gmail Setup
Herald’s stable Gmail path uses Gmail IMAP with an App Password. OAuth support exists but is experimental and requires Google client credentials.
Personal Gmail with an App Password
Section titled “Personal Gmail with an App Password”- Make sure 2-Step Verification is enabled for your Google account.
- Create a Google App Password for Herald.
- Run
./bin/herald. - Choose
Gmail (IMAP + App Password)in the setup wizard. - Enter your Gmail address and the App Password.
The wizard fills:
vendor: gmailserver: host: "imap.gmail.com" port: 993smtp: host: "smtp.gmail.com" port: 587For personal Gmail, IMAP is generally already enabled. Google Workspace accounts may require an admin to allow IMAP or may require OAuth instead of password-based IMAP.
Experimental Gmail OAuth
Section titled “Experimental Gmail OAuth”OAuth is available as an explicit experimental path. Before choosing it, set:
export HERALD_GOOGLE_CLIENT_ID="your-client-id.apps.googleusercontent.com"export HERALD_GOOGLE_CLIENT_SECRET="your-client-secret"OAuth stores refresh token data in the Herald config so it can refresh access tokens later. Treat the config file like a credential.