
# Using your own mail app

Any mail program that supports IMAP and SMTP can read and send from a Cruma
mailbox: the mail apps on iPhone and Android, Apple Mail, Thunderbird, Outlook
and others. Everything you do in the app is the same mailbox you see in
[webmail](https://cruma.io/book/mail/webmail.md): folders, read marks and sent mail stay in step.

## Why an app password

Cruma sign-in uses your social account, so a mail app has no password to type.
Instead you make an **app password**: a password for one device on one mailbox.

- It works only for mail (IMAP and SMTP). It can't open your Cruma account or
  Dash, and it can't be used for webmail.
- Make one per device, and name it after the device. If one device is lost,
  you revoke just that password.
- It is **shown once**, when you create it. Cruma only keeps a scrambled form of
  it and can't show it again. If you lose it, revoke it and make a new one.

## Create an app password

1. Open **Email → Settings → Mail apps**.
2. Find your mailbox and select **Connect a mail app**.
3. Under **Name of the device**, type something like `Pixel 9` and select
   **Create password**.
4. Copy the password from the dialog. It looks like
   `abcd-efgh-ijkl-mnop-qrst-uvwx-yz23-4567`: eight groups of four letters and
   digits. Dashes, spaces and capital letters don't matter when you type it in.
5. The dialog also lists **Settings for your mail app**. Use them below.

A mailbox can have up to 25 active app passwords. The same section lists them
with when each was created and last used, and **Revoke** signs that device out
at once. The person a mailbox is assigned to, and owners and admins, can create
and revoke its app passwords. If you reassign a mailbox to someone else, its app
passwords are revoked.

## Server settings

| | Incoming mail (IMAP) | Outgoing mail (SMTP) |
| --- | --- | --- |
| **Server** | `mail.cruma.io` | `mail.cruma.io` |
| **Port** | `993` | `587` (or `465`) |
| **Security** | SSL/TLS | `587`: STARTTLS · `465`: SSL/TLS |
| **Username** | your full address, such as `anna@example.com` | the same |
| **Password** | the app password | the same |

Use **normal password** authentication (sometimes shown as *plain* or
*login*). The connection is always encrypted first, so the password is never
sent in the clear.

Which outgoing port to use: choose `587` with STARTTLS if your app offers it,
and `465` with SSL/TLS otherwise. Both are equally secure. Port `25` is for
mail between servers, not for your app.

The same values are shown next to the password dialog and under **Mail apps**,
so copy them from there if they differ from this page.

### Phones and computers

Most mail apps offer an **Add account → Other** (or *Manual setup*) option.
Enter your name, address and the app password, and the server settings above
for both incoming and outgoing mail. Apps that try to guess settings from the
domain often guess wrong: choose the manual option.

The folders Cruma creates are marked as Sent, Drafts, Junk, Trash and Archive,
so your app finds them by itself. Apps that support IMAP IDLE (most do) hear
about new mail straight away.

## Troubleshooting

| Problem | Try |
| --- | --- |
| The app says the sign-in failed | Check that the username is your **full address** and the password is an **app password**, not your Cruma account. The app password may have been revoked, or the mailbox or its domain turned off. |
| *Too many failed attempts* | Repeated wrong passwords are blocked for a while, both from your connection and against that mailbox. Wait up to about 15 minutes, then try with the right password. |
| The app can't connect | Check the port and security pair: `993` with SSL/TLS, `587` with STARTTLS, or `465` with SSL/TLS. Some public networks block mail ports: try another network. |
| It connects but sending is refused | You can only send **from** your own address (or an alias that delivers to your mailbox), and the domain must be [verified](https://cruma.io/book/mail/set-up-a-domain.md). |
| It says the message is too large | The limit is 25 MB, attachments included. |
| It says to try later when sending | You reached a [sending limit](https://cruma.io/book/mail/sending-well.md). |
| Mailbox full | Delete messages, or ask an owner or admin to raise the storage. |
| A certificate warning | Don't accept it. Check that the server is spelled exactly as above and report it to Cruma if it persists. |

For a device you no longer have, revoke its app password under
**Mail apps**.

---

- Book: [Cruma Email (Private preview)](https://cruma.io/book/mail.md)
- Previous: [Using webmail](https://cruma.io/book/mail/webmail.md)
- Next: [Sending well](https://cruma.io/book/mail/sending-well.md)
- Pages: [Home](https://cruma.io/home.md) · [Docs](https://cruma.io/docs.md) · [Pricing](https://cruma.io/pricing.md) · [Share localhost](https://cruma.io/share-localhost.md) · [Webhook testing](https://cruma.io/webhook-testing.md) · [Homelab](https://cruma.io/homelab.md) · [AI coding agents](https://cruma.io/ai-coding-agents.md) · [Cruma vs ngrok](https://cruma.io/ngrok-alternative.md) · [Cruma vs Cloudflare Tunnel](https://cruma.io/cloudflare-tunnel-alternative.md) · [Blog](https://cruma.io/blog.md)
