Docs

Adding an account, keyboard shortcuts and search.

Adding an account

Choose “Add account” and pick the type. OpenWren supports IMAP accounts and Gmail. POP3 is not supported.

IMAP

Enter your address and password. The server names are guessed from your address (imap. and smtp. plus your domain). Correct them if your provider uses other names.

Your password is kept in the system keyring.

To change an account’s details later, remove the account and add it again.

Gmail with an app password

Gmail does not accept your normal Google password in a mail app. Use an app password instead.

  1. Turn on 2-step verification in your Google account, if it is not on yet.
  2. Create an app password at myaccount.google.com/apppasswords. You can name it “OpenWren”.
  3. In OpenWren, choose “Add account”, pick Google, and enter your Gmail address and the 16-letter app password.

The app password is stored in your system keyring. You can remove it at any time in your Google account.

Sign in with Google instead (advanced)

The add-account dialog also offers “Advanced: sign in with Google instead”. This route needs your own Google OAuth client:

  1. In the Google Cloud console, create a project and enable the Gmail API.
  2. Configure the OAuth consent screen, add the scope https://mail.google.com/, and add your address as a test user.
  3. Create credentials of type “OAuth client ID”, application type “Desktop app”.
  4. Paste the client ID and secret into Settings, under Accounts.
  5. Choose “Add account”, Google, and sign in in the browser.

While the Google project is in “Testing” status, Google expires the sign-in after about a week.

Gmail labels

Gmail labels are shown as folders. “All Mail”, “Starred” and “Important” are left out to avoid duplicates, and a message with several labels appears once per label.

Keyboard shortcuts

Action Keys
Search Ctrl+K
New mail Ctrl+N
Send Ctrl+Enter
Delete Delete
Archive Backspace
Reply Ctrl+R
Reply all Ctrl+Shift+R
Forward Ctrl+F
Mark read Ctrl+Q
Mark unread Ctrl+U
Flag Insert
Next or previous message Down or Up
Undo the last action Ctrl+Z
Add to the selection Ctrl+click
Select a range Shift+click

Search covers the whole mailbox, including mail that is many years old. Filters narrow the results by account, attachments, or date: the past year, older than one or two years, or a range you choose.

“Search the server for more” also looks through mail text that has not been downloaded yet.

Search operators

Operator Finds
from: Mail from a sender, for example from:anna
to: Mail sent to a recipient
subject: Words in the subject
has:attachment Mail with attachments
is:unread Unread mail
is:flagged Flagged mail
before:2024-01-31 Mail before a date
after: Mail after a date, written the same way as before:
in:folder Mail in a folder, for example in:archive

Privacy features

The privacy page lists every network request the app makes.