JMAP capabilities
A server lists what it supports as capabilities in its session. Each one has a name like urn:ietf:params:jmap:mail. Apps put the ones they need in using on every request.
| Capability | Name in the session | What it does | Defined in |
|---|---|---|---|
| Core | urn:ietf:params:jmap:core | The basics every server has: the session, requests, limits and errors. | RFC 8620 |
urn:ietf:params:jmap:mail | Mailboxes, messages, threads and search. | RFC 8621 | |
| Sending | urn:ietf:params:jmap:submission | Sending mail and choosing which address it comes from. | RFC 8621 |
| Away replies | urn:ietf:params:jmap:vacationresponse | The automatic away reply. | RFC 8621 |
| WebSocket | urn:ietf:params:jmap:websocket | Requests and alerts over one open connection. | RFC 8887 |
| Read receipts | urn:ietf:params:jmap:mdn | Sending and reading read receipts. | RFC 9007 |
| S/MIME check | urn:ietf:params:jmap:smimeverify | Checking S/MIME signatures on messages. | RFC 9219 |
| Blob | urn:ietf:params:jmap:blob | Uploading and fetching files directly. | RFC 9404 |
| Quotas | urn:ietf:params:jmap:quota | Storage and message limits. | RFC 9425 |
| Contacts | urn:ietf:params:jmap:contacts | Address books and contact cards. | RFC 9610 |
| Sieve filters | urn:ietf:params:jmap:sieve | Mail filter rules written in Sieve. | RFC 9661 |
| Sharing | urn:ietf:params:jmap:principals | Other people, groups and shared accounts. | RFC 9670 |
| Web Push keys | urn:ietf:params:jmap:webpush-vapid | Signed Web Push alerts, so push services know they came from the server. | RFC 9749 |
| Calendars | urn:ietf:params:jmap:calendars | Calendars, events and invitations. | Draft |
| Calendar file import | urn:ietf:params:jmap:calendars:parse | Reading .ics calendar files. | Draft |
| Contact file import | urn:ietf:params:jmap:contacts:parse | Reading vCard contact files. | Draft |
| Free and busy | urn:ietf:params:jmap:principals:availability | When other people are free, for booking meetings. | Draft |
| File storage | urn:ietf:params:jmap:filenode | Files and folders. | Draft |
| Masked Email | https://www.fastmail.com/dev/maskedemail | Fastmail's own masked email addresses. Only on Fastmail. | Fastmail |
Drafts can still change before they're published, so servers and apps may differ on them. Paste your server's session into the session explainer to see which it lists and the limits that come with each.
Where they appear in the session
Capabilities show up in two places. The capabilities object at the top of the session lists what the server as a whole supports, with its settings and limits. Each account then has its own accountCapabilities, because a shared or read only account may not offer everything your own one does. primaryAccounts says which account to use by default for each capability.
{
"capabilities": {
"urn:ietf:params:jmap:core": {
"maxSizeUpload": 50000000,
"maxConcurrentRequests": 4,
"maxCallsInRequest": 16,
"maxObjectsInGet": 500
},
"urn:ietf:params:jmap:mail": {},
"urn:ietf:params:jmap:submission": {}
},
"accounts": {
"A1": {
"name": "you@example.com",
"isPersonal": true,
"isReadOnly": false,
"accountCapabilities": {
"urn:ietf:params:jmap:mail": { "maxMailboxesPerEmail": null },
"urn:ietf:params:jmap:submission": { "maxDelayedSend": 0 }
}
}
},
"primaryAccounts": {
"urn:ietf:params:jmap:mail": "A1",
"urn:ietf:params:jmap:submission": "A1"
}
}This is trimmed to show the shape. A real session also has the account's other capabilities, the addresses for requests, uploads and downloads, and a state string.
Using them in a request
Every request starts with using: the capabilities its methods need. Core is always needed. To read mail you add mail; to send you add submission too:
{
"using": ["urn:ietf:params:jmap:core", "urn:ietf:params:jmap:mail"],
"methodCalls": [["Mailbox/get", { "accountId": "A1", "ids": null }, "m"]]
}If you ask for a capability the server doesn't have, the whole request fails with an unknownCapability error. If you leave out one a method needs, that step fails with unknownMethod. Both are quick to spot in the request playground.
A server's own extras
Anything that isn't an IETF standard uses a web address as its name instead of urn:ietf:params:jmap:, like Fastmail's Masked Email above. Apps should ignore any they don't know. Our session explainer marks those it doesn't recognise, so you can tell an extra from a mistake.