# Prodmail documentation
Every page of https://prodmail.io/docs/ in one file. Each page starts with its address.
---
Source: https://prodmail.io/docs/getting-started/
# Getting started
Create a Prodmail account with an invitation, choose your username and password, and sign in.
Prodmail is invitation only while we're small. An invitation is a link or a code. Open the link, or paste the code on the [sign-up page](https://account.prodmail.io/signup), then choose a username and a password.
## Your username and password
- Your username becomes your address: `username@prodmail.io`. Usernames are 3 to 32 characters, letters, digits, dots and hyphens.
- Passwords are at least 12 characters. We don't enforce symbols or rotation; a long passphrase is better than a short complicated one.
- Invitation links expire after seven days. Ask whoever sent it for a new one if yours has run out.
## Your keys and recovery phrase
When you create the account, your browser makes the encryption keys that protect your mail. You are then asked to set up a recovery phrase. You can leave it for later, but do set it up: the phrase is the only way back into your mail if you forget your password. See [Encryption and recovery](/docs/encryption/).
## Signing in
Signing in creates a session for that device only. You can see every active session, and end any of them, under Settings, Security.
> Sign in with either your username or your address: "alex" and "alex@prodmail.io" both work. If your address is on someone's own domain, sign in with the whole address.
## Where to go next
- [Bring your old mail](/docs/importing-mail/) and [your calendar](/docs/calendar-import/) with you.
- [Add an alias](/docs/addresses/) or [bring your own domain](/docs/custom-domains/).
- Learn the [keyboard shortcuts](/docs/keyboard-shortcuts/).
- Set up [filters](/docs/filters/) so mail sorts itself.
---
Source: https://prodmail.io/docs/reading-and-sending/
# Reading and sending mail
How the inbox, folders, labels, the editor, drafts, search and attachments work in Prodmail.
## Reading
- Messages open full screen. Press Esc or the back arrow to return to the list, which stays where you left it.
- Folders (Inbox, Archive, Spam, Trash, and your own) hold a message in one place. Labels can be applied to any number of messages and don't move them.
- All mail lists everything except Spam and Trash, drafts included, with a chip on each row saying which folder it is in. A line at the top of the list adds Spam and Trash when you can't find something.
- HTML messages are shown in a sandbox: scripts never run, and links open in a new tab. See [Tracking protection and images](/docs/tracking-protection/) for how images are handled.
- Attachments can be downloaded one at a time, and any message can be downloaded whole as an `.eml` file.
## Layout and themes
The palette button at the right edge opens Theme. Choose a light or dark theme, how tightly rows are packed, and the layout: Row shows the list and opens a message over it; Column keeps the list on the left with the open message beside it.
## Writing
- Up to three messages can be open at once. They dock along the bottom of the window; fold one to its title bar, make it larger, or drag a lone one sideways. On a phone the newest fills the screen.
- The editor has the usual formatting: font and size, bold, italic, underline and strikethrough, text and highlight colours, alignment, lists, indents, quotes, links, pictures, a rule, and an emoji picker. Colours and fonts travel as plain styles that any mail app shows.
- Drafts save automatically a moment after you change something; nothing is saved until you do. If the same draft is open on two devices, the second one to save is told about the conflict instead of silently overwriting. Drafts can be starred, and deleting one deletes it outright, since drafts never go to Trash.
- Each send is tracked from queued, to handed to the mail provider, to accepted. If a send fails you'll see it in the draft, with the reason, and can try again.
- After you press Send there is a short window in which you can take it back. See [Undo send](/docs/undo-send/).
## Encryption when sending
The icon next to each recipient shows the selected protection. Point to it to see whether the message will be encrypted, signed only or sent as standard email. Mail between Prodmail addresses is encrypted and signed automatically.
For people at other providers, open the contact's **OpenPGP keys** to choose encryption, signing and the PGP format for each email address. External recipients in one message need matching PGP sending settings. Send separate messages if you want to keep different choices. See [OpenPGP encryption and signing](/docs/openpgp/) for the steps.
## Moving and undoing
Every move shows a toast with Undo: to Trash, Archive, Spam or a folder of yours, one message or a whole selection. Undo puts each message back in the folder it came from and confirms once the server has done it. Only Delete forever has no undo, which is why it asks first.
## Search
Search looks through subjects, senders and message text. The sliders button in the search box opens the options: limit the search to a folder or label, a date range, mail with attachments, unread or starred. The search lives in the address, so a result page can be bookmarked.
---
Source: https://prodmail.io/docs/undo-send/
# Undo send
Take a message back for up to 30 seconds after pressing Send. How the window works and how to change it.
After you press Send, the message waits on the server for a short window before it leaves. A toast shows "Message sent" with an Undo button for that long. Undo brings the message back as a draft, with its attachments, so you can fix it and send again.
## Changing the window
The window is 10 seconds unless you change it under Settings, Sending & notifications: off, 5, 10, 20 or 30 seconds. 30 is the maximum.
## What to know
- The hold happens on the server, so closing the tab or losing the connection doesn't lose the message and doesn't skip the window.
- Once the deadline passes the message is on its way and Undo says so. From then on it behaves like any other sent message.
- Mail sent from a [mail app](/docs/mail-apps/) is queued at once and skips the window.
---
Source: https://prodmail.io/docs/signatures/
# Signatures
Set a signature with formatting and links for each of your addresses, and where it appears in new messages and replies.
Set one signature per address under Settings, Addresses, next to the address it belongs to.
This is the text at the end of your email. To sign a message with your key so the recipient can check it, see [OpenPGP encryption and signing](/docs/openpgp/).
## Where it appears
It's added to the end of new messages from that address, and above the quoted text on replies and forwards, so the reader sees it before the history. The signature is inserted into the editor, so you can trim or remove it on any single message.
## Formatting
The signature editor is the same one you write messages in: bold, italic, colours, fonts, links and lists are all kept, and you can paste a signature in from elsewhere.
- Pictures and logos are not kept. A signature can't carry attachments, so an image pasted into it is removed when you save.
- The text of a signature can be up to 2,000 characters.
- A message sent as plain text gets a plain rendering of the same signature, with links written out in full.
Like the rest of your settings that contain your own words, a signature is stored encrypted with your keys.
---
Source: https://prodmail.io/docs/filters/
# Filters
Rules that sort new mail as it arrives: move it to a folder, label it, mark it read or star it.
Rules sort mail as it arrives. Find them under Settings, Filters. Each rule has conditions and actions, runs on new messages in the order shown, and the first match wins unless the rule says to keep checking.
## Conditions
From, To, Subject, Body, Mailing list (the `List-Id` header) and Has attachment, with contains, is exactly, starts with and ends with. Matching ignores case. "To" also matches Cc and the address the message was actually delivered to, so plus-tags work.
## Actions
Move to a folder or Trash, add labels, mark as read, star. At least one is required.
## What to know
- Rules apply to new mail only. Messages already in your mailbox stay where they are when you add or change a rule.
- Spam is checked before rules run, so a rule can't pull a flagged message past the filter.
- Up to 50 rules, each with up to 10 conditions. The page shows how many messages each rule has matched.
---
Source: https://prodmail.io/docs/auto-reply-and-forwarding/
# Auto-reply and forwarding
Set an away message with dates, or forward incoming mail to another address after confirming it.
Both are under Settings, Auto-reply & forwarding.
## Auto-reply
Turn on an away message, give it a subject and text, and optionally a start and end.
- Each sender gets at most one reply every four days.
- Mailing lists, newsletters, automated senders and anything in Spam or Trash never get one.
- "Only reply to people I have written to before" limits replies to addresses you've sent to from Prodmail.
## Forwarding
Forward incoming mail to another address: enter it, then open the confirmation link we send there and confirm with the button. Forwarding stays off until you turn it on after confirming.
- You can keep a copy in your inbox or not. With copies off, a message is removed here only once the forward has been accepted.
- Mail in Spam or Trash is never forwarded.
- Loops between two forwarding addresses are stopped.
---
Source: https://prodmail.io/docs/tracking-protection/
# Tracking protection and images
How Prodmail removes tracking pixels, cleans links and loads remote images without revealing you to the sender.
Every message header has a shield. It's filled in when something was caught; click it for the details.
## What is caught
- **Trackers removed.** Hidden tracking pixels and images from known open-tracking services are stripped before the message is rendered. The receipt lists the hosts they came from.
- **Links cleaned.** Tracking parameters such as `utm_`, `fbclid` and `mc_eid` are removed from links. The link still works; it just no longer reports the click.
## Images
Remote images load through Prodmail, so the sender sees our server, not your address or browser. Ordinary mail shows its images straight away. Messages in Spam, or flagged by the spam check, wait until you choose Load images, because loading can tell the sender the message was opened.
## Unsubscribe
Newsletters that support it show an Unsubscribe button in the message. With one-click lists, Prodmail sends the request on your behalf; otherwise the sender's page opens in a new tab.
> Heuristics can't promise a message has no trackers. The shield shows what was found, not a guarantee.
---
Source: https://prodmail.io/docs/notifications/
# Notifications
Turn on desktop notifications for new mail in your Prodmail inbox.
Turn on desktop notifications under Settings, Sending & notifications. Your browser asks for permission once.
You then get a notification for new mail in your inbox whenever the Prodmail tab is in the background: one per message, or a single summary when several arrive together.
---
Source: https://prodmail.io/docs/keyboard-shortcuts/
# Keyboard shortcuts
Every keyboard shortcut in Prodmail, for the message list, the composer and Drive.
Press ? in the app to see this list there.
## In the message list
| Key | Action |
|---|---|
| j / k | Next / previous message in the list |
| Enter / o | Open the focused message |
| Esc | Back to the list, or clear the selection |
| x | Select or deselect the focused message |
| a | Archive |
| t | Move to Trash (deletes a draft, after asking) |
| m | Move to a folder |
| l | Label |
| * | Star or unstar |
| s | Mark as spam |
| r | Mark read |
| u | Mark unread |
| n | New message |
| / | Search |
| ? | Show this list in the app |
Shortcuts are off while you're typing in a field.
## In the composer
These work while typing:
| Key | Action |
|---|---|
| Ctrl + Enter | Send |
| Ctrl + S | Save the draft now |
| Ctrl + M | Minimise or restore the composer |
| Ctrl + Shift + M | Larger or smaller composer |
| Esc | Close the composer (the draft is kept) |
| Ctrl + K | Insert or edit a link |
| Ctrl + Shift + X | Strikethrough |
| Ctrl + Shift + 7 / 8 | Numbered / bulleted list |
| Ctrl + ] / [ | Indent / outdent |
## In Drive
These work in Drive's file lists:
| Key | Action |
|---|---|
| ↑ / ↓ | Move through the list (all four arrows in the grid) |
| Enter | Open |
| Space | Select or deselect |
| Shift + arrow | Select as you go |
| Ctrl + A | Select everything |
| Esc | Clear the selection |
| F2 | Rename |
| Delete | Move to Trash |
| Ctrl + V | Upload what is on the clipboard |
| ← / → | Previous / next file, in the viewer |
See [Drive basics](/docs/drive/).
---
Source: https://prodmail.io/docs/mail-apps/
# Using a mail app
What Thunderbird, Apple Mail and Outlook can and cannot do with Prodmail, the server settings, and app passwords.
Your mail is stored encrypted with keys that only your browser holds (see [Encryption and recovery](/docs/encryption/)). A mail app such as Thunderbird, Apple Mail or Outlook does not have those keys.
> A mail app can send mail from your Prodmail addresses. It cannot open encrypted messages, which is nearly all of your mail: read those in the Prodmail web app.
## Server settings
| | Incoming | Outgoing |
|---|---|---|
| Protocol | IMAP | SMTP |
| Server | `imap.prodmail.io` | `smtp.prodmail.io` |
| Port | 993 | 465 |
| Security | SSL/TLS | SSL/TLS |
| Username | `you@prodmail.io` (your username also works) | the same |
| Password | An app password, not your account password | the same |
## Creating an app password
Apps never use your account password. Each one gets its own app password, which you can revoke on its own.
1. Open Settings, Mail apps and choose Create app password.
2. Name it after the app and device, pick whether it may read mail, send mail or both, and confirm it's you.
3. Copy the password into the app. It is shown only once; if you lose it, revoke it and create another.
App passwords expire after a year and stop working when you change your account password or your two-factor setup. Revoking one signs that app out within a second. Signing out of the web app does not touch them.
## Good to know
- The [OpenPGP choices in Contacts](/docs/openpgp/) apply to mail sent from the Prodmail web app. Set up encryption and signing separately in any other mail app that supports them.
- Mail sent from an app is queued at once and skips the [undo window](/docs/undo-send/).
- You can send from any of your aliases; the app signs in with your main username either way.
- Folders appear over IMAP with their names, and read state and stars are shared with the web app. Labels are not visible over IMAP.
- Limits: 50 recipients per message, the usual attachment size, and 60 sends an hour per account.
---
Source: https://prodmail.io/docs/importing-mail/
# Moving your mail to Prodmail
Bring your old mail and contacts into Prodmail from Gmail, Outlook, Apple Mail or any other provider, using MBOX and EML files.
You can bring your old mail with you. Prodmail reads two kinds of file:
- **MBOX**, one file holding a whole mailbox. This is what Gmail gives you.
- **EML**, one file per message.
Getting those files out of your old provider is the fiddly part, and it differs for each. Putting them into Prodmail is the same every time.
## Step 1: get your mail out
### Gmail
Google hands over your mail through a service called Takeout.
1. Go to [takeout.google.com](https://takeout.google.com).
2. Click **Deselect all**, then scroll down and tick **Mail** only.
3. If you do not want everything, click "All Mail data included" and pick the labels you want.
4. Click **Next step**, leave the settings as they are, and click **Create export**.
5. Wait for the email from Google with the download link. For a big mailbox this can take hours, sometimes a day.
6. Download it and unzip it. Inside, under Takeout and then Mail, is a file ending in `.mbox`. That is the one you need.
A large mailbox is split into several downloads. Unzip them all; you can import the `.mbox` files one after another.
### Outlook and Hotmail
This is the awkward one. Outlook exports your mail as a `.pst` file, which is Microsoft's own format, and Prodmail cannot read it. Nothing else much can either.
The dependable way round it is the free mail app Thunderbird:
1. Install [Thunderbird](https://www.thunderbird.net) and add your Outlook account to it. Let it finish downloading your mail, which takes a while.
2. In Thunderbird, install the add-on **ImportExportTools NG**.
3. Right-click a folder, choose the add-on's export menu, and export the folder as MBOX.
Do this for each folder you want to keep.
### Apple Mail
1. In Mail on a Mac, select a mailbox.
2. Choose **Mailbox**, then **Export Mailbox…** and pick a place to save it.
Apple saves it as something that looks like a file called `Inbox.mbox` but is really a folder. Right-click it, choose **Show Package Contents**, and inside is the actual file, named just `mbox`. That inner file is the one to import. Drag it somewhere easy to find first, like the desktop.
If your mail lives on iCloud, this works for iCloud mail too, since Mail on the Mac holds a copy.
### Anywhere else
If the provider has an export, look for MBOX. If it does not, the Thunderbird route above works with almost any mail account, because Thunderbird can connect to nearly all of them.
For a handful of messages, most mail apps let you save one as a `.eml` file or drag it to the desktop. Those import as they are.
## Step 2: bring it in
1. In Prodmail, open **Settings**, then **Import & export**.
2. Find **Import mail**.
3. Choose the mailbox and the folder the messages should go into. If you want them kept apart from your new mail, make a folder first, called something like "Old Gmail".
4. Choose your mailbox files or `.eml` files. You can pick several. A mailbox file does not have to end in `.mbox`; Prodmail can tell what it is.
5. Click **Import mail** and leave the page open until it finishes.
It counts as it goes. A mailbox of tens of thousands of messages takes a while, because every message is encrypted on its way in.
## What comes across
- Every message, with its original date, sender and recipients.
- Attachments.
- Conversations are put back together where the messages still say what they were replies to.
## What does not
It is better to know these before you start than to find out after.
- **Folders and labels.** Everything in a file lands in the one folder you chose. If your folders matter to you, export them one at a time and import each into its own folder here.
- **Read and unread.** Everything arrives marked as read.
- **Stars and flags.**
- **Messages over 25 MB.** The import stops when it meets one. Take it out of the file, or import the rest as separate files.
Your filters do not run on imported mail, and you are not notified about any of it. Ten years of mail arriving at once would otherwise be quite a morning.
## If it stops
Choose the same files and run it again. Messages already imported are recognised and skipped, so you will not get duplicates. The count shows "already imported" going up until it reaches the place it stopped.
## Contacts
On the same page, **Import contacts** takes:
- a Google Contacts CSV export,
- an Outlook CSV export, or
- a vCard file (`.vcf`), which is what Apple Contacts exports.
Names, email addresses, phone numbers, company, job title and notes come across. Photos and postal addresses do not. If someone is already in your address book, the import leaves them as they are.
CSV files need their column headings in English. If yours were exported with the provider's language set to something else, switch it to English and export again.
## Your calendar
That has its own guide: [Moving your calendar to Prodmail](/docs/calendar-import/).
## After the move
Your old address will keep receiving mail for a while. Most providers let you forward it: set that up at the old provider, pointing at your Prodmail address, and leave it running for a few months while you tell people the new one.
---
Source: https://prodmail.io/docs/calendar/
# Calendar basics
Make events, repeat them, get reminded, switch time zones and find your way around Prodmail Calendar with the keyboard.
Calendar lives at [calendar.prodmail.io](https://calendar.prodmail.io), or behind the grid button next to the logo. It uses the same account as your mail. What an event says is encrypted in your browser before it is saved; see [Encryption](/docs/encryption/#calendar) for exactly what that covers.
Calendar is in the web app only for now. The phone app does not have it yet.
## Making an event
Click an empty hour, or drag across the hours you want. Click the strip at the top of a day for an all-day event. **New event** in the sidebar does the same for right now.
A small form opens next to the event. Give it a title and save. While the form is open you can still drag the event around or pull its bottom edge, and the form follows.
The form reads your title as you type. Write "Dentist 2pm" and a chip offers 14:00; write "Adi's birthday" and it offers all day, every year. Click the chip to take the suggestion, or ignore it. Nothing changes unless you click, and your title is left exactly as you typed it.
To change an event later, click it and choose the pencil. To move it, just drag it.
## Repeating events
Pick how it repeats under the time: every day, every weekday, every week, every month on the date or on "the second Tuesday", every year, or **Custom** for anything else (every 3 weeks, on Monday and Thursday, ending after 10 times or on a date).
When you change or delete one occurrence of a repeating event, Calendar asks what you mean:
- **This event** changes only that one.
- **This and following events** splits the series there.
- **All events** changes the whole series.
## Reminders
Each event can have up to five reminders. A reminder is either a **notification** or an **email**.
- A notification shows in Calendar, and as a browser notification if you allow it. It only shows while Calendar is open in a tab. If the tab is closed, nothing pops up.
- An email reminder arrives in your inbox whether or not anything is open. Use this one for things you cannot miss.
New events start with the reminders of the calendar they go into. Change those by opening the calendar's menu in the sidebar.
## Calendars
You start with one calendar called Personal. Add more with the plus beside **My calendars**: one for work, one for the family, whatever keeps things apart. Each has its own colour, its own default event length and its own default reminders.
Click a calendar's name to hide or show its events. The three dots beside it edit it, share it, export it or delete it. You can have up to 25.
## Day, week and month
Switch with the menu at the top right. Arrows step back and forward, **Today** brings you back. The small month in the sidebar jumps to any date.
## Time zones
Calendar shows times in your device's zone unless you pick another from the menu in the toolbar. Search it by city, by country ("india") or by offset ("+5:30").
An event keeps the zone it was made in. If you set a meeting for 10:00 in London and then fly to Dubai, it shows at 14:00, which is when it actually is. You can also show a second zone down the side of the week, under the settings button.
## Search
The magnifying glass, or /, searches your events by title, place and notes. It looks through everything, past and future.
## Calendar in Mail
In Mail, the calendar icon in the right-hand rail opens today's schedule in a side panel, so you can check whether you are free without leaving the message. You can add and move events from there too.
## Keyboard
| Key | Action |
|---|---|
| N | New event |
| T | Today |
| D / W / M | Day, week, month |
| ← / → | Earlier, later |
| / | Search |
| Esc | Close what is open |
## Limits
- 25 calendars of your own, and 20 more that you [subscribe to](/docs/calendar-subscriptions/).
- 20,000 events in one calendar.
- 5 reminders and 100 guests on one event.
---
Source: https://prodmail.io/docs/calendar-invitations/
# Inviting people to events
Invite guests to an event by email, see who has answered, and reply to invitations you receive from Prodmail, Gmail or Outlook.
You can invite anyone with an email address. They do not need a Prodmail account.
## Inviting guests
Open the event and type addresses into **Guests**. When you save, each guest is sent an invitation. The button says so before you press it, so an invitation never goes out by surprise.
Guests on Gmail or Outlook see the event at the top of the email with Yes, Maybe and No. Guests on Prodmail see the same thing as a card in the message.
When a guest answers, the reply comes back to your inbox and Calendar marks them on the event: going, maybe, not going, or not answered yet.
## Changing or cancelling
If you change the title, the time, the place or the notes, every guest is told. If you add someone, only they hear about it. If you delete the event, everyone gets a cancellation, and someone you take off the guest list gets one too.
Small edits that guests do not need to hear about, like your own reminders or the colour, are not sent.
## Answering an invitation
An invitation that arrives in Mail shows a card with the event and three buttons. Pick one. The event is added to your calendar and the organiser is told.
You can change your answer later, either from the same message or from the event in Calendar.
An event you were invited to belongs to its organiser. You cannot move it or rename it, only answer it and set your own reminders.
## What the emails say
The subject of an invitation says only when the event is, for example "Invitation: an event on Fri 27 Nov, 11:30 – 12:30". The title is inside the invitation, not in the subject. We do this because subject lines are the one part of a message our servers can read, and we would rather not know what your meetings are called.
Invitations to people outside Prodmail leave as ordinary email, because that is the only kind their mail service understands. See [Encryption](/docs/encryption/).
## Importing events with guests
Importing a calendar file never emails anyone. Guests in the file are kept on the events, quietly. See [Moving your calendar to Prodmail](/docs/calendar-import/).
---
Source: https://prodmail.io/docs/calendar-sharing/
# Sharing a calendar
Share a Prodmail calendar with another account, with anyone by link, or as a free/busy feed for Google, Apple and Outlook.
Open the three dots beside a calendar and choose **Share**. There are three ways to do it, and they suit different people.
## With someone on Prodmail
Type their Prodmail address and choose **Can view** or **Can edit**. The calendar appears in their sidebar under **Shared with me**.
- **Can view**: they see every event and its details.
- **Can edit**: they can also add, change and delete events.
Only you can rename the calendar, change who it is shared with, or delete it. They can leave whenever they like.
The calendar's key is locked to their key in your browser, so we cannot read a shared calendar any more than a private one. If you stop sharing with someone, the calendar is given a new key the next time you open it, so their old copy of the key opens nothing new.
One catch: emailed reminders on a shared calendar go to its owner only, for now.
## With a link
**Create a link** makes an address you can send to anyone. They see the whole calendar in their browser, kept up to date, with no account and nothing to install. They cannot change anything.
The link holds the key to the calendar in the part after the `#`, which browsers do not send to servers. So the link works for whoever has it, and we still cannot open what it shows. Treat it like a key: anyone you forward it to can see the calendar.
Delete the link to switch it off. You can have five per calendar.
## As a busy feed
**Create a busy feed** gives you an address that another calendar can subscribe to, such as your work calendar on Google or Outlook. It shows when you are busy and nothing else. No titles, no places, no guests.
This is the one to use when colleagues need to know you are unavailable on Thursday afternoon but not why.
The address is shown once. Copy it when it appears. If you lose it, delete the feed and make another. You can have five per calendar.
Our servers write this feed from the times of your events, which they can see. They cannot put titles in it even if asked, because they do not have them.
## What cannot be shared
Calendars you [subscribe to](/docs/calendar-subscriptions/), such as public holidays, are yours alone. Share the original address with the other person instead.
---
Source: https://prodmail.io/docs/calendar-subscriptions/
# Holidays and calendars from elsewhere
Add public holidays for any country, or subscribe to a calendar published at an address, and understand what our servers can see of it.
Some calendars are not yours to edit: public holidays, a sports team's fixtures, your work calendar. You can add these to Calendar so they show beside your own events.
Click the plus beside **Other calendars** in the sidebar.
## Public holidays
Pick a country from the list. There are 242. The one your time zone points to is suggested at the top.
The holidays come from Google's public holiday calendars. Our server fetches them, so Google sees a request from Prodmail and never one from you.
## A calendar from an address
Most calendars can give you an address to subscribe to. It is usually called an "iCal link", an "ICS link" or a "secret address", and it starts with `https://` or `webcal://`. Paste it in.
A few places to find one:
- **Google Calendar**: the calendar's settings, under "Secret address in iCal format".
- **Outlook on the web**: Settings, Calendar, Shared calendars, then publish the calendar and copy the ICS link.
- **Apple Calendar**: share the calendar as a public calendar and copy its link.
Leave the name empty and the calendar takes the name it gives itself.
## How they behave
- You cannot edit them. Open an event and choose **Duplicate** to copy it into a calendar of your own.
- They are read again every six hours. To check sooner, open the calendar's menu and choose **Read it again now**.
- If the address stops answering, the calendar keeps showing what it last had, with a warning triangle beside its name. It keeps trying by itself.
- **Remove** takes it out of your sidebar. Nothing happens at the other end.
You can have 20 of these.
## What we can see
This is the one part of Calendar our servers can read, and it is worth being plain about.
To subscribe for you, the server has to fetch the address. So it knows the address and it sees what comes back. Both are stored encrypted, but with a key the server holds, not yours. If that matters for a particular calendar, export it as a file and [import it](/docs/calendar-import/) instead. Imported events are encrypted in your browser like the ones you make yourself. The price is that an import is a one-off copy and does not update.
The name and colour you give a subscribed calendar are still encrypted with your own key.
---
Source: https://prodmail.io/docs/calendar-import/
# Moving your calendar to Prodmail
Export your events from Google Calendar, Apple Calendar or Outlook and import them into Prodmail Calendar, step by step.
Every calendar worth using can export to a file ending in `.ics`. Prodmail reads those. So the move is always the same two steps: get the file out of the old calendar, then drop it into ours.
The file is read in your browser. Events are encrypted there before anything is saved, the same as events you type in yourself.
## Step 1: get your events out
### Google Calendar
1. Open Google Calendar on a computer. The phone app cannot export.
2. Click the gear, then **Settings**.
3. On the left, choose **Import & export**.
4. Click **Export**.
You get a `.zip` with one `.ics` file inside for each of your calendars. Do not unzip it. Prodmail takes the zip as it is.
Only calendars under "My calendars" are included. A work or school account may have exporting switched off, in which case your administrator is the person to ask.
### Apple Calendar
You need a Mac for this. iCloud.com and the iPhone have no export.
1. Open Calendar and click the calendar's name in the list on the left.
2. Choose **File**, **Export**, **Export…** and save the file.
That is one calendar. Repeat for each one you want. Apple also offers a "Calendar Archive", which is a different format that only Apple reads, so do not pick that one.
### Outlook
Outlook makes this harder than it should be, and what you see depends on which Outlook you have.
- **Outlook on the web and Outlook.com**: go to Settings, Calendar, Shared calendars. Under "Publish a calendar", choose the calendar, allow all details, and publish. Copy the **ICS** link. Paste that link into your browser's address bar and it downloads the file.
- **Classic Outlook for Windows**: open the calendar, then File, Save Calendar. Set the date range to "Whole calendar" and the detail to "Full details" before saving, or you will get a few weeks of events with their titles missing.
If you only want to *see* your Outlook calendar in Prodmail and keep using Outlook, do not import at all. Take the ICS link from the first method and [subscribe to it](/docs/calendar-subscriptions/) instead. It stays up to date by itself.
### Anything else
Look for "export", "iCal" or ".ics" in its settings. Fastmail, Proton, Thunderbird, Nextcloud and most others have it.
## Step 2: bring them in
1. Open [Calendar](https://calendar.prodmail.io).
2. Drag the file, or several files, or Google's zip, onto the calendar. Or open the settings button at the top right and choose **Import a calendar file**.
3. Each file is listed with the number of events found in it. Choose where each one goes:
- an existing calendar, or
- **A new calendar**, named after the calendar in the file. This is what you want when moving several calendars over, and it is the default when you bring in more than one file.
4. Click **Import**.
Keep the tab open while it runs.
## What comes across
- Titles, places, notes, times and time zones.
- All-day events.
- Repeating events, including single occurrences you had moved or deleted.
- Reminders.
- Guests and the organiser. Nobody is emailed. An import is not an invitation.
## What does not
- **Unusual repeat rules.** "Every weekday" and "the last Friday of the month" are fine. Something like "the 1st and 15th of every other month" is kept as a single event on its first date, and the import tells you how many events that happened to.
- **Tasks and to-dos.** Calendar has no tasks, so they are skipped.
- **Cancelled events.** Skipped.
- **Attachments on events.** Skipped.
- **Colours of individual events.** They take the colour of the calendar they land in.
Before you click Import, the dialog lists anything it is going to leave out, with the reason.
## If something goes wrong
**"Could not be read as a calendar file."** The file is not an `.ics`. Outlook in particular likes to export `.pst` or `.csv`, which are something else. Go back and look for the iCalendar or ICS option.
**Some events were left out as "could not be read".** The old calendar wrote those events in a way that does not follow the standard. The rest of the file imports normally. Open the list under the file to see which ones, and add them by hand.
**It stopped halfway.** What was imported stays. Import the same file again and only the missing events are added. Importing a file twice never makes duplicates, as long as it goes into the same calendar.
**Times are an hour or more out.** This is nearly always a time zone the old calendar did not describe properly. Check one event against the old calendar. If they are all out by the same amount, write to [help@prodmail.io](mailto:help@prodmail.io) and attach a small export. We would like to see it.
## Taking it back out
Open the three dots beside a calendar, then **Export as a file**. You get an `.ics` that any other calendar will read. See [Exporting and leaving](/docs/exporting-and-leaving/).
---
Source: https://prodmail.io/docs/drive/
# Drive basics
Store files and folders in Prodmail Drive: uploading, organising, searching, downloading, Trash, and its keyboard shortcuts.
Drive keeps your files beside your mail, in the same account. Open it from the grid button next to the logo, or at [mail.prodmail.io/drive](https://drive.prodmail.io). Files are encrypted in your browser before upload; see [Encryption](/docs/encryption/#drive).
Drive is in the web app only for now.
## Uploading
- **New** uploads files or a folder, or makes a new folder.
- **Drag** files or folders onto the list.
- **Paste** with Ctrl + V to upload a screenshot or copied files.
Uploads show in a panel in the corner and can be cancelled. Leaving the page stops them.
If a name is already taken, you choose once: keep both, replace (the old one goes to Trash) or skip. Uploading a folder that already exists adds to it.
## Finding things
- **My files** is the top of your Drive, with your folders under it in the sidebar.
- **Search** looks through every folder and shows where each result is.
- **Starred** lists what you have marked with Add star.
- **List or grid**: switch with the buttons at the top right. Click a column heading to sort.
- **Details**, on an item's menu, shows its size, location, date and who it is shared with.
## Organising
- **Move** by dragging onto a folder, or with Move to… on the menu. A toast offers Undo.
- **Rename**, **Make a copy** and **Move to Trash** are on the menu (the three dots, or right-click).
- A folder holds each name once. A rename or move that would clash is refused.
- **Make a copy** is limited to 1 GB at a time.
## Opening and downloading
Pictures, PDFs and text files open in a viewer; ← and → step through the folder. Anything else downloads.
A folder, or several selected items, download as one zip. In Safari that is limited to 1 GB.
## Trash
Deleted items stay in Trash for 30 days, then are removed for good. Restore puts one back where it was. Storage is freed when an item leaves Trash.
## Keyboard
| Key | Action |
|---|---|
| ↑ / ↓ | Move through the list (all four arrows in the grid) |
| Enter | Open |
| Space | Select or deselect |
| Shift + arrow | Select as you go |
| Ctrl + A | Select everything |
| Esc | Clear the selection |
| F2 | Rename |
| Delete | Move to Trash |
| Ctrl + V | Upload what is on the clipboard |
## Storage
Mail and Drive share one storage allowance. The meter at the bottom of the sidebar shows how much each uses. See [Limits](/docs/limits/).
---
Source: https://prodmail.io/docs/drive-photos/
# Photos and albums
Keep pictures and videos in the Photos library of Prodmail Drive, and group them into albums you can share.
Photos is its own library inside Drive, separate from My files. It shows your pictures and videos by month, newest first.
## Adding photos
Open Photos in the sidebar and choose Upload photos, or drag pictures onto the page. Only pictures and videos are taken.
- A photo is dated by when the file was last changed, which for a camera picture is normally when it was taken.
- Formats your browser cannot show, such as HEIC in most browsers, are stored without a preview.
- There is no automatic backup from a phone yet.
## Albums
An album is a named set of photos. Switch to Albums beside the Photos title.
- **Create one** with New album, or select photos and choose Add to album.
- **A photo can be in several albums.** Albums use no extra storage.
- **Deleting an album keeps its photos.**
- **Moving a photo to Trash** removes it from the library and every album.
## Sharing an album
Albums are shared like folders. People see the photos in the album and nothing else in your library. See [Sharing from Drive](/docs/drive-sharing/).
---
Source: https://prodmail.io/docs/drive-sharing/
# Sharing from Drive
Share a file, folder or album with Prodmail users or with a link, add a password or expiry, and take access back.
You can share a file, a folder or an album. People you share with can view and download, but not change anything.
## Sharing with people
Choose Share on an item's menu and type a name or email address. Add as many people as you like, then press Share. Nothing is shared until you do.
- **Someone on Prodmail** gets access of their own. The item appears under Shared with me in their Drive.
- **Anyone else** is emailed the item's link.
Everyone gets an email from your address saying who shared and what, with a button to open it. People you share with at the same time do not see each other's addresses.
Addresses on your own domain count as Prodmail addresses.
## Sharing with a link
Turn on "Anyone with the link can view" and copy the link. Whoever has it can open the item in a browser, without an account.
- **Password**: people need it as well as the link. Send it to them separately.
- **Expires**: never, or after 1, 7 or 30 days.
- **One link per item.** You cannot cut off one person without turning the link off for everyone.
## Taking access back
- **A person**: open Share and remove them.
- **A link**: turn it off. It stops working at once. Turning it on again makes a new link.
Shared, in the sidebar, lists everything you are sharing. Anyone who already downloaded a file keeps their copy.
## Shared with you
Shared with me lists what others have shared with you and who shared it. Remove from my list hides an item for you only.
---
Source: https://prodmail.io/docs/drive-and-mail/
# Mail and Drive together
Save a mail attachment to Drive, attach files from Drive, and send files too large to attach as a link.
Files move between Mail and Drive without downloading and uploading by hand.
## Save an attachment to Drive
Each attachment on a message has a Drive button. Press it and pick a folder. With several attachments, Save all to Drive saves them together.
Nothing is replaced: if the name is taken, the new file gets a number.
## Attach from Drive
In the composer, the Drive button beside the paperclip opens your files. Select some, then choose:
- **Attach** to put a copy in the message. It counts towards the attachment limit.
- **Insert link** to share the file by link and write the link into the message. Use it for anything too large to attach.
## Files too large to attach
If a file from your computer does not fit, you are offered a link instead. The file is uploaded to a "Sent by link" folder in your Drive, and the message gets a link to it.
These links have no password and do not expire. To stop one working, turn the file's link off in Drive. See [Sharing from Drive](/docs/drive-sharing/).
---
Source: https://prodmail.io/docs/addresses/
# Addresses and aliases
Add aliases that deliver to your mailbox, choose where each one's mail lands, and send from any of them.
Your primary address is `username@prodmail.io`. You can add aliases, which are extra addresses that deliver to the same mailbox and that you can send from.
## Adding an address
Every address you can send and receive as is listed under Settings, Addresses, grouped by domain. From there, add an alias on `prodmail.io` or an address on any [domain you've connected](/docs/custom-domains/): pick the part before the @, and choose whether its mail lands in your inbox or in a folder of its own. You can change where an address delivers later from the same page.
## Sending from an alias
When you reply to a message that was sent to an alias, the reply goes out from that alias. For a new message, pick the address in the From field. Each address can have its own [signature](/docs/signatures/).
## Disabling and removing
- You can disable an alias at any time. A disabled alias stays reserved to you, so nobody else can ever claim it, and mail to it bounces.
- Your primary address can't be removed.
## An address for someone else
An alias delivers into your own mailbox. To give another person their own private mailbox on your domain, see [Members](/docs/members/).
---
Source: https://prodmail.io/docs/custom-domains/
# Custom domains
Use your own domain with Prodmail: verify ownership, add the mail records, create addresses and set a catch-all.
Bring any domain you own. Custom domains come with a paid mailbox: you can have up to 20, and they don't cost extra. Under Admin, Domains (Settings has a link to Admin), each domain has its own page that walks you through five steps, and you can stop and come back at any point.
## Setting up a domain
1. **Add the domain.** Choose Add domain and type it in.
2. **Prove you own it.** One TXT record, named `_prodmail.yourdomain.com` with a value starting `prodmail-verify=`. If your DNS is at Cloudflare, GoDaddy or IONOS you'll see a Continue button for that provider: it takes you there, shows you the record, you approve it, and you're sent straight back. Anywhere else, we show the record with copy buttons, and a link to your provider's DNS page when we can tell who it is. Then choose Check now. Most providers update within minutes; a few take up to an hour.
3. **Create your addresses.** Any name on the domain. For each one you choose where its mail goes: the inbox, with everything else, or a folder of its own, in which case we make the folder and a filter that moves mail there. The filter is an ordinary one you can change later.
4. **Add the mail records.** Once ownership is verified we prepare mail hosting for the domain and show the MX, SPF and DKIM records to add, with a status for each. The same one-click button covers these where your provider supports it.
5. **Readiness.** Receiving and sending are reported separately, each saying exactly which record it's still waiting on. Your old provider keeps receiving mail until you change the MX record, so there's nothing to lose by verifying early.
## Sending from your domain
Addresses on a domain whose mail isn't switched on yet are reserved for you: nobody else can claim them, and they aren't offered when you write a message until sending is ready. Sending from custom domains is being switched on domain by domain while we complete the provider setup.
## Catch-all
Once a domain receives mail, the bottom of its setup page can send everything addressed to a name you haven't created to one of its addresses. The addresses you did create keep their own routing. It's off by default, and turning it on tends to bring more spam. Removing the destination address turns it off again.
## Mailboxes for other people
You can issue an address on your domain to someone else as a separate account with its own private mailbox. See [Members](/docs/members/).
## Removing a domain
Removing a domain disables its addresses. Messages you already received stay in your mailbox. Adding the same domain again later starts a fresh claim; old addresses on it are not carried over. A domain that still has members can't be removed until they are gone.
---
Source: https://prodmail.io/docs/members/
# Members
Give other people their own private mailbox on your domain, and switch off or delete a member's address.
If you own a [custom domain](/docs/custom-domains/), you can issue addresses on it to other people. Each one is a member: a separate Prodmail account with its own sign-in, its own mailbox and its own encryption keys.
> You manage the address. You can never read a member's mail, and they can't see yours. Nobody, including us, can open a member's mailbox for you.
## Adding a member
1. Open Admin, People. Settings has a link to Admin.
2. Choose Invite person, pick the domain if you have more than one, type the part before the @ and, if you like, their name.
3. Copy the invite link and send it to them yourself. It is shown once, works once, and expires after seven days. If it gets lost, make a new link from the list; the old one stops working.
An invitation that hasn't been used can be withdrawn, which frees the address.
## Your organisation's name
On Admin's overview you can give your organisation a name, for example your company's. Your people see it on their invitation and in their account, where it says who manages their address. Without a name they see your domain instead. You can change or remove it at any time.
## What you can see about each person
The People list shows, beside each person:
- **Storage.** How full their mailbox is. The bar turns amber at four fifths and red when it is full.
- **Two-step sign-in.** Whether they sign in with a second step as well as their password. Only they can turn it on, in their own Settings, Security; the list tells you who to ask.
That is all. You can't see a person's mail, files, calendar or passwords, and neither can we.
To correct how a person's name is shown, choose Rename from their menu. It changes the name on the list and in their account, not their address.
To control which apps your people can sign in to with their Prodmail account, see [Apps your people use](/docs/organisation-apps/).
## What it costs
Inviting people needs a paid mailbox of your own. Each person who joins is another mailbox on your bill, at the same yearly price as yours, charged from the day they join for the rest of your billing year. An invitation costs nothing until it is used.
A member whose address is switched off still has a mailbox, so it stays on the bill. It comes off when the member's account has been deleted for good.
## What the member does
The link opens a page that names the address. They choose a password and set up their keys and recovery phrase, as with any new account. From then on they sign in with the whole address, for example `sam@yourdomain.com`.
A member account shows that it is managed by the owner of your domain. It can't add its own domains or aliases; it has the one address you issued.
## Switching a member off
Switch off stops the address sending and receiving at once. The member can still sign in to read and export their mail, and sees a notice saying the owner turned sending and receiving off. Switch on restores both.
Mail sent to a switched-off address is returned to its sender. It does not go to your catch-all, whether or not the domain has one.
If you would rather receive it, for example when someone has left and their customers are still writing, choose **Deliver it to me** when you switch them off, and pick one of your own addresses on that domain. You can change this later from the person's menu. The member is told that new mail to the address is going to you. Mail already in their mailbox stays theirs: you still can't open it.
### Blocking sign-in
A switched-off member can still sign in to read and export. If they shouldn't, tick **Also block sign-in** when you switch them off or delete them, or choose Block sign-in from their menu later. They are signed out everywhere, including mail apps, and can't sign back in. Their mail isn't touched. Allow sign-in from the same menu, or switch them back on, to let them in again.
## Deleting a member
Delete switches the address off at once and removes the account, with all of its mail, 30 days later. As with switching off, new mail is returned to its sender unless you choose to have it delivered to you.
- Until that day the member can sign in, read and export, and sees the date their mail will be removed.
- You can cancel within the 30 days. Cancelling leaves the member switched off; switch them on again separately.
- After the 30 days the mail is gone for good and nobody can get it back. The address is free to issue again, and mail to it is treated like mail to any address you haven't created: it goes to your catch-all if you have one.
### Removing now
The 30 days are there for the member, so they can take their mail with them, and for you, so a mistake can be undone. If you're sure, open the menu of a member who is being deleted and choose **Remove now**. You type their address and confirm it's you. The account and its mail are destroyed straight away; this can't be cancelled, and nobody can recover the mail.
## If a member loses their password
A member recovers their account with their own recovery phrase: Forgot password, on the sign-in page. You have no part in it, and they keep all their mail.
If they have lost both the password and the phrase, the mailbox can't be opened by anyone, and nothing can change that. What you can do is give them their address back empty. Open their menu in Admin, People and choose **Reset account**. You type their address and confirm it's you.
- The person is signed out everywhere at once. The account and everything in it (mail, files, saved passwords) is destroyed and can't be brought back.
- The same address is invited again, and you are shown a new invite link to send them. It works a moment later, once the old account has been taken apart, and for seven days.
- They choose a new password, save a new recovery phrase, and start with an empty mailbox.
Until they use the link, mail to the address is treated like mail to an address you haven't created: it goes to your catch-all if you have one, and is returned otherwise.
## Requiring two-step sign-in
On Admin's overview, under Sign-in rules, you can require everyone you have given a mailbox to sign in with a second step: an authenticator app or a passkey. Only each person can set theirs up; the rule makes sure they do.
- People who already have a second step notice nothing.
- People without one see a notice when they sign in, with the date they have until. That is seven days from when you switch the rule on, or seven days from joining for someone who joins later.
- After that date their account opens only as far as setting it up, which takes a minute. A mail app signed in with an app password stops working until then too. Nothing of theirs is removed, and everything opens again as soon as the second step is in place.
The rule doesn't apply to your own account. Switching it off lifts it for everyone at once.
---
Source: https://prodmail.io/docs/organisation-apps/
# Apps your people use
Keep an app you run to the people on your domains, see which other apps they sign in to with Prodmail, and block one.
[Sign in with Prodmail](/docs/sign-in-with-prodmail/) lets a person use their Prodmail account to sign in to another app or website. If you run [domains with members](/docs/members/), Admin, Apps is where you decide what your people can sign in to.
> An app only ever learns a person's name and address. It can't read mail, files, calendars or passwords, and it never sees a password.
## An app only your people can use
For a tool you run for your own people (a rota, a wiki, a dashboard), make the app and keep it to them:
1. [Create the app](/docs/oauth-apps/) in Settings, Your apps.
2. On its Settings tab, under **Who can sign in**, choose **Only people on my domains**. With more than one domain, tick the ones you mean.
3. Choose Apply.
From then on you, and everyone you have given a mailbox on those domains, can sign in. Anyone else is turned away by Prodmail before your app hears of them, so your app needs no list of its own.
Narrowing an app that people already use does not interrupt your people. Somebody else who was already inside your app stays there until your app signs them out; they can't sign in again.
These apps are listed in Admin, Apps under **Your organisation's apps**.
## Apps made by someone else
**Other apps your people use** lists every other app that someone on your domains has signed in to with their Prodmail account, with how many of your people use it and when it was last used. You see how many, not who.
## Blocking an app
Choose Block beside an app to close it to your people. Everyone on your domains is signed out of it at once and can't sign in to it again with their Prodmail account until you unblock it. They are told why when they next try. Your own account isn't affected.
Blocking stops the Prodmail sign-in. If a person also has a separate password for that app, that is between them and the app.
---
Source: https://prodmail.io/docs/encryption/
# Encryption and recovery
What Prodmail encrypts in Mail and Drive, what we can and cannot see, how your keys work, and how recovery works.
The contents of your stored mailbox are encrypted with keys that only you hold. Once stored this way, we cannot open them.
## What is encrypted
- **Message text and attachments in your mailbox** are encrypted to your keys. Nobody at Prodmail can open them.
- **What we can see** is what delivering mail requires: who a message is from and to, its subject and its date.
## How mail gets encrypted
- **Between Prodmail addresses,** mail sent from the web app is encrypted and signed in the sender's browser before it leaves.
- **Mail to other providers** can be encrypted in your browser when you add the recipient's public key and turn on encryption for their address. You can also sign mail without encrypting it. See [OpenPGP encryption and signing](/docs/openpgp/).
- **Mail from outside Prodmail** usually reaches our servers the way ordinary email travels. It is checked for spam, then encrypted to your key before it is stored. If the sender used OpenPGP to encrypt it to you, it arrives already encrypted.
OpenPGP encryption protects a message before it leaves your browser. Encrypted mailbox storage also protects mail received or sent without OpenPGP, once it is stored in your mailbox. Standard and signed-only mail can be read by the servers handling its delivery.
## Your keys
Your browser makes your keys when you create the account, and makes one for each address you add. The private half is stored only in a form locked with your password, so it can be used on any device you sign in on and by nobody else.
- On a new device, or after some time, you may be asked for your password again to unlock your mailbox.
- Settings, Encryption & keys lists your keys and lets you export them.
- Because the keys live in your browser, apps that don't have them can't read your mail. See [Using a mail app](/docs/mail-apps/).
## Recovery phrase
Your recovery phrase is the way back in if you forget your password. Set it up under Settings, Security, write it down, and keep it somewhere safe and offline.
> We cannot reset your password for you or recover your mail. If you lose both your password and your recovery phrase, the mail in the account can't be opened by anyone.
## Drive
Files in [Drive](/docs/drive/) are encrypted in your browser before upload, with keys only you hold.
- **Encrypted**: file contents, file and folder names, and the previews of pictures and videos.
- **What we can see**: file sizes, how folders are nested, when things were added or changed, and the date a photo is filed under.
- **Sharing with someone on Prodmail** locks the item's key to their key in your browser. We cannot open it.
- **A share link** carries its key in the part after the `#`, which browsers never send to a server. A password, if set, is needed as well.
As with mail, if you lose both your password and your recovery phrase, nobody can open your files.
## Calendar
[Calendar](/docs/calendar/) is encrypted in your browser too, but not all of it can be, and it is better to say exactly where the line is.
- **Encrypted**: an event's title, place, notes, guests and colour, and the names of your calendars.
- **What we can see**: when an event starts and ends, its time zone, how it repeats, and when its reminders are due. We need those to send you a reminder when nothing is open. We know you have something at 14:00 on Thursday. We do not know what.
- **Emailed reminders** are written and encrypted by your browser when you save the event. The server files the sealed message in your inbox when the time comes. Its subject says only when the event is.
- **Sharing with someone on Prodmail** locks the calendar's key to their key in your browser.
- **A share link** carries its key after the `#`, like a Drive link.
- **A busy feed** is written by the server from event times, the part it can already see. There are no titles in it because the server has none to put there.
- **Calendars you subscribe to**, including public holidays, are the exception. The server fetches them for you, so it can read them. See [Holidays and calendars from elsewhere](/docs/calendar-subscriptions/#what-we-can-see).
## What this means in practice
- Search, reading and writing all happen in the Prodmail web app, where your keys are.
- If you manage [members](/docs/members/) on your domain, you can't read their mail, and their recovery is theirs alone.
---
Source: https://prodmail.io/docs/openpgp/
# OpenPGP encryption and signing
Add a contact's public key, choose encryption and signing for each address, and pick PGP/MIME or Inline.
Use OpenPGP in the Prodmail web app to encrypt mail to people at other providers, or sign it so they can check it was sent with your key.
Mail between Prodmail addresses is encrypted and signed automatically. You don't need to import a key for it.
## Adding a contact's key
1. Open Contacts and choose the contact, or choose Add contact.
2. Open **OpenPGP keys**. If the contact has more than one email address, choose the one the key belongs to.
3. Paste their public key, or choose **Upload file**. The key must match that exact email address. Files can be `.asc`, `.pgp` or `.pub`, up to 64 KB.
4. Once the key has been checked, choose **Add key**.
For an existing contact, key and sending changes save as you make them. For a new contact, they are saved when you choose **Save contact**.
## Encrypting and signing
Each email address has its own settings under **OpenPGP keys**. They apply whenever you send to that address from the web app.
| Setting | What it does |
|---|---|
| Encrypt emails | Encrypts the message to the contact's public key before it leaves your browser. A usable public key is required. |
| Sign emails | Signs the message with your key, so the recipient can check the signature and whether the signed contents have changed. Their public key is not required. |
For an external address with no key or saved choices, both settings start off. Adding a key turns on encryption and signing by default. If you have already chosen settings for that address, adding or replacing its key keeps those choices.
Signing alone does not hide the message from the mail servers delivering it. Turn on **Encrypt emails** as well when you want end-to-end encryption. Sender, recipients and subject remain visible either way.
Turning encryption off keeps the public key, so it can still be used to check signatures on mail from that contact. With both switches off, mail to that address is sent without OpenPGP encryption or signing.
## Choosing the format
Open **Advanced**, then **PGP format**.
- **PGP/MIME** is the default. It keeps formatting and attachments together. When encryption is on, attachment contents and file names are encrypted with the message.
- **PGP/Inline** sends plain text. Attachments are encrypted or signed separately, according to the switches above. Their file names remain visible.
The format only applies when encryption or signing is on.
## Before sending
The icon next to each recipient shows the selected protection. Point to it for details: encrypted, signed only, or standard email, and the PGP format where one is used.
External recipients in the same message need matching encryption and signing settings, and the same PGP format when either is on. If their settings differ, send separate messages or change the settings to match. The web app checks the keys again when you send; an expired or revoked key cannot be used for a new encrypted message.
## Checking a key's owner
Importing a key alone does not verify who owns it. Open **Verify identity** and compare the fingerprint with your contact through another channel you trust. Enter the fingerprint they give you, then choose **Verify and trust**.
If the contact changes their key, choose **Change key** and check the new fingerprint before replacing it.
## Sharing your public key
Go to **Settings > Encryption & keys** and export the public key for the address you send from. Give it to your contact so they can encrypt mail to you or check your signatures.
The web app opens PGP/MIME and Inline messages and can check signatures against a saved sender key. See [Encryption and recovery](/docs/encryption/) for how your own keys and stored mail are protected.
These sending choices belong to the web app. A separate mail app has its own OpenPGP setup; see [Using a mail app](/docs/mail-apps/).
---
Source: https://prodmail.io/docs/sessions-and-security/
# Sessions and security
See and end your sessions, change your password, add two-step sign-in, and review the apps connected to your account.
Everything here is under Settings, Security.
## Sessions
Each sign-in is a separate session tied to the device. The table shows the device, where it signed in from, and since when. Sign out any of them from there; it takes effect immediately. **Sign out all others** ends every session but the one you are using, phones and the Pass extension included.
## Sign-in activity
Under the sessions is every successful sign-in of the last 90 days, ten at a time: when, on what device, from where, and how (password, passkey, or approved from a phone). A sign-in from a browser that has not been seen before is marked, and is also sent to your inbox.
**Record where sign-ins come from** is on unless you turn it off. On, each sign-in is kept with its IP address and approximate location. Turn it off and sign-ins are kept without them, and those already recorded are removed; you are sent a notice that it was turned off.
**Clear history** removes the record of past sign-ins after you confirm your password. Sign-ins that are still signed in stay listed, and you are sent a notice that the history was cleared, so that nobody can clear it quietly.
## Signing in
- After ten failed sign-in attempts on an account within fifteen minutes, sign-in is paused for that account for fifteen minutes. Correct attempts during the pause are also refused, so wait it out.
- You can add an authenticator app for two-step sign-in, and passkeys to sign in without typing your password.
- Changing your password ends every other session.
## Mail apps
App passwords for Thunderbird, Apple Mail and others have a page of their own: Settings, Mail apps. See [Using a mail app](/docs/mail-apps/).
## Connected apps
Apps you signed in to with your Prodmail account are listed under Connected apps. They can see your name and email address, never your mail. Remove access to stop an app signing you in; the next time you use it you are asked again before anything is shared.
## What we can see
Connections to Prodmail are over HTTPS only, and the contents of your mail are stored encrypted with keys only you hold. See [Encryption and recovery](/docs/encryption/).
---
Source: https://prodmail.io/docs/exporting-and-leaving/
# Exporting and leaving
Download your mail and calendars, move a domain to another provider, and what happens when you close a Prodmail account.
You can leave at any time and take your mail with you.
## Exporting mail
- Download any message as an `.eml` file from the message view. It opens in any mail client.
- To take everything, go to **Settings > Import & export > Export mail**. Choose one mailbox and folder, or all of them. You get your original messages as `.eml` files, with a report of the folders and labels they were in. A large export comes as several zip files; keep the page open until the last one has downloaded.
Exported mail is no longer encrypted. Keep the files somewhere private.
## Exporting calendars
In Calendar, open the three dots beside a calendar and choose **Export as a file**. You get an `.ics` file that Google, Apple, Outlook and every other calendar can import. Do it once for each calendar.
Coming the other way? See [Moving your mail to Prodmail](/docs/importing-mail/) and [Moving your calendar to Prodmail](/docs/calendar-import/).
## Moving a domain away
If you connected a domain, point its MX record at your new provider first, then remove the domain here. Mail keeps flowing throughout.
## Closing an account
Go to **Settings > Account > Close account** and confirm with your password.
- **At once:** the account stops sending and receiving. Mail sent to it is returned to its sender.
- **For 30 days:** you can still sign in to read and export your mail. To change your mind, choose **Keep my account** on the same page.
- **After 30 days:** the account, its mail, contacts, keys and any apps you registered are removed for good. Nobody, including us, can get the mail back.
Addresses on `prodmail.io` stay reserved and are never given to anyone else.
Two kinds of account work differently:
- If you have custom domains, remove them first in **Admin > Domains**. A domain with members can be removed once its members are deleted.
- If your address was issued by the owner of a custom domain, only they can delete it. See [Members](/docs/members/).
---
Source: https://prodmail.io/docs/limits/
# Limits
Storage, message size, recipients, filters and the other limits of a Prodmail account.
| What | Limit |
|---|---|
| Storage | 1 GB on a free account, 10 GB on a paid mailbox, shared between Mail and Drive. More can be added to a paid mailbox: 25 GB or 100 GB at a time |
| Message size | 50 MB including attachments |
| Recipients per message | 100 (50 from a mail app) |
| Sends from a mail app | 60 an hour per account |
| Messages sent a day | 50 on a free account. No daily limit on a paid mailbox |
| Aliases of your choosing at prodmail.io | 1 on a free account, 15 on a paid mailbox |
| Random aliases made by Pass | 10 on a free account, 200 on a paid mailbox |
| Aliases on your own domain | No limit |
| Custom domains | 20, with a paid mailbox |
| People on a domain | 250, each a paid mailbox |
| People in a call | 2 on a free account, 8 on a paid mailbox |
| Filter rules | 50, with up to 10 conditions each |
| Signature | 2,000 characters of text per address, no pictures |
| Undo send window | Up to 30 seconds |
| Invitation links | Expire after 7 days |
| Apps for Sign in with Prodmail | 10 per account |
| Drive Trash | Emptied after 30 days |
| Drive: one copy made with Make a copy | 1 GB |
---
Source: https://prodmail.io/docs/sign-in-with-prodmail/
# Sign in with Prodmail
Let people sign in to your app or website with their Prodmail account, using standard OpenID Connect. A five-minute quickstart.
Sign in with Prodmail lets people use their Prodmail account to sign in to your app or website. It is standard OpenID Connect (the authorization code flow with PKCE), so any OpenID Connect library works.
Your app learns who the person is: an account ID, their name and their email address. It can never read, send or delete their mail, and it never sees their password.
## Quickstart
1. **Create an app.** In Prodmail, open Settings, Your apps and choose Create app. Give it a name, choose its type, and add the callback URL your app will receive people at. See [Creating and managing apps](/docs/oauth-apps/).
2. **Save the keys.** You get a client ID and, for a web app, a client secret. The secret is shown once.
3. **Point your library at the discovery address.** Most libraries need only this, your client ID and your secret:
```
https://api.prodmail.io/.well-known/openid-configuration
```
4. **Ask for the scopes you need:** `openid`, plus `profile` for the name and `email` for the address.
5. **Try it.** The Test tab of your app builds a working sign-in address you can open straight away.
## The flow without a library
If you'd rather see every step, this is the whole of it. Your server makes a random `state` and a PKCE verifier, keeps both in the person's session, and sends them to:
```
https://account.prodmail.io/oauth/authorize
?client_id=YOUR_CLIENT_ID
&redirect_uri=https://yourapp.com/auth/callback
&response_type=code
&scope=openid%20profile%20email
&state=RANDOM_STATE
&code_challenge=BASE64URL_SHA256_OF_VERIFIER
&code_challenge_method=S256
```
The person signs in to Prodmail if they aren't already, and the first time is asked to allow your app to see their name and address. They are then sent back to your callback URL with `code` and `state`. Check that `state` is the one you made, then exchange the code from your server:
```bash
curl -X POST https://api.prodmail.io/v1/oauth/token \
-u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET" \
-d grant_type=authorization_code \
-d code=CODE_FROM_THE_CALLBACK \
--data-urlencode redirect_uri=https://yourapp.com/auth/callback \
-d code_verifier=YOUR_VERIFIER
```
The answer contains an `id_token`: a signed JWT that says who signed in.
```json
{
"access_token": "…",
"token_type": "Bearer",
"expires_in": 3600,
"scope": "openid profile email",
"id_token": "eyJhbGciOiJSUzI1NiIs…"
}
```
Verify the ID token's signature against the published keys, check that `iss` is `https://api.prodmail.io` and `aud` is your client ID, and use `sub` as the person's permanent ID in your database. The [reference](/docs/oauth-reference/) lists every claim.
## The same in JavaScript
A callback handler with no dependencies, for Node 18 or later. In production, verify the ID token with a JWT library and the keys at `jwks_uri`.
```js
// GET /auth/callback?code=…&state=…
async function handleCallback(req, session) {
const url = new URL(req.url, 'https://yourapp.com');
if (url.searchParams.get('state') !== session.oauthState) throw new Error('state mismatch');
const response = await fetch('https://api.prodmail.io/v1/oauth/token', {
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
Authorization: 'Basic ' + Buffer.from(`${process.env.PRODMAIL_CLIENT_ID}:${process.env.PRODMAIL_CLIENT_SECRET}`).toString('base64'),
},
body: new URLSearchParams({
grant_type: 'authorization_code',
code: url.searchParams.get('code'),
redirect_uri: 'https://yourapp.com/auth/callback',
code_verifier: session.oauthVerifier,
}),
});
if (!response.ok) throw new Error((await response.json()).error);
const { id_token, access_token } = await response.json();
// The same facts as the ID token, fetched with the access token.
const person = await (await fetch('https://api.prodmail.io/v1/oauth/userinfo', {
headers: { Authorization: `Bearer ${access_token}` },
})).json();
return person; // { sub, name, email, email_verified }
}
```
## What people see
A Prodmail page with your app's name, icon and description, the site they'll return to, and links to your privacy policy and terms if you gave them. The first time, it lists exactly what your app will see and asks them to allow it. After that, signing in goes straight back to your app. They can remove your app's access at any time under Settings, Security.
## What it doesn't do
- There is no access to mail, contacts or anything else in the account. The only scopes are `openid`, `profile` and `email`.
- There are no refresh tokens. To check that someone is still signed in to Prodmail, send them through the flow again; once they have allowed your app it returns without a prompt.
---
Source: https://prodmail.io/docs/oauth-apps/
# Creating and managing apps
Create an app for Sign in with Prodmail, set its callback URLs and icon, regenerate its secret, and test a sign-in.
Apps live under Settings, Your apps in Prodmail. Any account can create up to 10.
## Creating an app
Create app takes three steps.
1. **App name.** People see it on the sign-in page: "Sign in to continue to Your App". A name can't include "Prodmail".
2. **App settings.** Choose the type of app and add a callback URL.
- **Web app:** runs on a server that can keep a secret. It gets a client secret.
- **Native or browser app:** mobile, desktop or single-page. It has no secret and relies on PKCE alone.
The type can't be changed after the app is created.
3. **Keys.** Your client ID and, for a web app, your client secret. Save the secret now: we keep only a fingerprint of it, so it is not shown again.
## Callback URLs
After sign-in, people are sent to one of your app's callback URLs and nowhere else.
- The `redirect_uri` in your request must match one of them exactly, character for character.
- They must start with `https://`. For development, `http://localhost` and `http://127.0.0.1` are allowed, with any port.
- An app can have up to 10. Add or remove them on the Settings tab.
## Settings
The Settings tab holds what people see on the sign-in page: the icon, name and description, and optional links to your terms of service and privacy policy.
The icon is a PNG, JPEG or WebP image of up to 256 KB. Without one, the sign-in page shows your app's initial.
## Keys
The Keys tab shows your client ID and the discovery address. The client secret is never shown again after it is made. If it is lost or leaks, choose Regenerate: you get a new one, and the old one stops working at once.
## Testing
The Test tab builds a real sign-in address for your app: pick a callback URL and the scopes, and it fills in fresh PKCE values, `state` and `nonce`. Open sign-in runs it. The tab also shows the code verifier and a ready `curl` command for exchanging the code, so you can complete the flow by hand before writing any code.
## Deleting an app
Delete app on the Settings tab stops every sign-in through it at once, and removes it from the list of connected apps in people's accounts. It can't be undone.
---
Source: https://prodmail.io/docs/oauth-reference/
# OpenID Connect reference
Endpoints, scopes, ID token claims, token lifetimes and error codes for Sign in with Prodmail.
## Endpoints
| | Address |
|---|---|
| Issuer | `https://api.prodmail.io` |
| Discovery | `https://api.prodmail.io/.well-known/openid-configuration` |
| Authorization | `https://account.prodmail.io/oauth/authorize` |
| Token | `https://api.prodmail.io/v1/oauth/token` |
| User info | `https://api.prodmail.io/v1/oauth/userinfo` |
| Signing keys (JWKS) | `https://api.prodmail.io/v1/oauth/jwks` |
## What is supported
| | |
|---|---|
| Flow | Authorization code (`response_type=code`) |
| PKCE | Required, `S256` only |
| Client authentication | `client_secret_basic`, `client_secret_post`, or `none` for apps with no secret |
| ID token signing | `RS256` |
| Scopes | `openid`, `profile`, `email` |
## Authorization request
| Parameter | |
|---|---|
| `client_id` | Required. Your app's client ID. |
| `redirect_uri` | Required. One of your callback URLs, exactly. |
| `response_type` | Required. `code`. |
| `scope` | Required. Must include `openid`. Add `profile` and `email` as needed. |
| `code_challenge` | Required. The base64url SHA-256 of your code verifier. |
| `code_challenge_method` | Required. `S256`. |
| `state` | Recommended. Returned to you unchanged. Up to 512 characters. |
| `nonce` | Optional. Returned in the ID token. |
The code verifier is 43 to 128 characters from `A-Z a-z 0-9 - . _ ~`.
## Token request
`POST` to the token endpoint with a form body (`application/x-www-form-urlencoded`):
| Parameter | |
|---|---|
| `grant_type` | `authorization_code` |
| `code` | The code from your callback. It lasts 60 seconds and works once. |
| `redirect_uri` | The same callback URL as in the authorization request. |
| `code_verifier` | The verifier whose challenge you sent. |
| `client_id`, `client_secret` | In the body, or as HTTP Basic authentication. An app with no secret sends `client_id` only. |
Call it from your server. A code that fails an exchange is spent; start the flow again.
## Scopes and claims
| Scope | Claims |
|---|---|
| `openid` | `sub` |
| `profile` | `name` |
| `email` | `email`, `email_verified` |
The ID token also carries `iss`, `aud`, `exp`, `iat`, `auth_time`, and `nonce` if you sent one.
- `sub` is the account's permanent ID. It is the same for every app and never changes; store it, not the email address, as the key for a person.
- `name` is the person's display name.
- `email` is the account's own address. `email_verified` is always `true`: the address is Prodmail's to vouch for.
## Lifetimes
| | |
|---|---|
| Authorization code | 60 seconds, single use |
| ID token | 1 hour |
| Access token | 1 hour, accepted only by the user info endpoint |
| Refresh tokens | None |
Signing keys can change. Fetch them from the JWKS address and pick the key by the token's `kid`; don't pin one.
## Consent
A person is asked once per app. Asking for a scope they haven't allowed yet asks again. If they remove your app's access, its tokens stop working and the next sign-in asks again.
## Errors
Faults in a request from a known app come back to your callback URL as `error`, with `error_description` and your `state`:
| `error` | Meaning |
|---|---|
| `access_denied` | The person chose Cancel. |
| `invalid_request` | A parameter is missing or malformed, for example no PKCE challenge. |
| `unsupported_response_type` | `response_type` is not `code`. |
| `invalid_scope` | `openid` is missing, or a scope isn't one of the three. |
Two faults are shown on Prodmail's own page and never sent to your callback, because the return address can't be trusted: an unknown `client_id`, and a `redirect_uri` that isn't registered for the app.
The token endpoint answers with a JSON body of `error` and `error_description`:
| `error` | Meaning |
|---|---|
| `invalid_client` | Wrong client ID or secret, or the app has been deleted. |
| `invalid_grant` | The code is wrong, expired, already used, or doesn't match the callback URL or verifier. |
| `unsupported_grant_type` | `grant_type` is not `authorization_code`. |
| `slow_down` | Too many requests. Wait and try again. |
The user info endpoint answers `401` with `invalid_token` when the access token is missing, wrong or expired.