82mail
Email API

Send and receive company email
from your own software

Send contact-form messages, order notices and internal alerts from your company address (help@company.com), and read incoming mail straight into your app. One key, one request.

A developer smiling at a desk with a code editor and an inbox on screen
What it does

Sending and receiving,
with the same mailboxes as webmail

Send email

To, Cc, Bcc, plain text and HTML, attachments — in one request. Sent mail stays in that mailbox's Sent folder.

Fetch received mail

List any folder newest first and download bodies and attachments. Reading through the API doesn't change read status.

Same rules as webmail

Sending limits, company storage and anti-spam rules (no bulk mail) apply exactly as in webmail. Nothing extra to manage.

Use it for

Let software do
the email chores

  • Website contact form → straight to the right person
  • Order and booking confirmations from your company address
  • Quotes and invoices as PDF attachments, sent automatically
  • Mail arriving at cs@ copied into your CRM or internal tools
  • A morning digest of new mail posted to your chat
  • Scheduled reports from scripts or spreadsheets
Send an email
curl https://82mail.app/api/v1/send \
  -H "Authorization: Bearer m82_..." \
  -H "Content-Type: application/json" \
  -d '{
    "from": "help@company.com",
    "to": ["customer@example.com"],
    "subject": "Your order is confirmed",
    "text": "Thanks for your order.",
    "attachments": [{ "filename": "invoice.pdf", "content": "JVBERi0x..." }]
  }'
{ "success": true, "id": "0106019c...", "remaining": 4812 }
Try it

One request is all it takes

Put the key in the Authorization header. Send JSON, or multipart/form-data for larger files.

List received mail
curl "https://82mail.app/api/v1/messages?mailbox=cs@company.com&unseen=1&limit=20" \
  -H "Authorization: Bearer m82_..."
{ "success": true, "mailbox": "cs@company.com", "folder": "inbox",
  "messages": [{ "id": 3051, "from": { "email": "...", "name": "..." }, "subject": "...",
                "snippet": "...", "date": "...", "seen": false, "attachments": 1 }],
  "next": 3032 }
Read one message
curl "https://82mail.app/api/v1/messages/3051?mailbox=cs@company.com" \
  -H "Authorization: Bearer m82_..."
At a glance

Endpoints

POST/api/v1/sendSend an email (JSON or multipart/form-data)
GET/api/v1/messages?mailbox=addressList a folder, newest first (folder, unseen, before, after)
GET/api/v1/messages/:id?mailbox=addressOne message (text and HTML body + attachment list)
GET/api/v1/messages/:id/attachments/:n?mailbox=addressDownload an attachment

Good to know

  • Keys are made per domain and work only with that domain's mailboxes (shared inboxes included)
  • Up to 30 requests per minute and 500 per hour per company (sending and reading combined)
  • Attachments: 10MB total in JSON, 25MB with multipart, up to 20 files
  • Lists return up to 100 messages; use next from the response for the following page
  • API sends count toward the same monthly sending allowance as webmail
  • Errors come back as { success: false, error, message }
Get started

Ready in 3 steps

  1. Connect your domainConnect your company domain to 82mail and create mailboxes.
  2. Create a keyIn a company that has paid at least once, the owner creates a key per domain in Company > [API]. The key is shown only once.
  3. Send a requestCall the API with the key as above. Fields and error codes are listed on the [API] screen.
Why use the API instead of SMTP?

You use a key instead of a staff password, and you can delete the key at any time to cut access. Sent mail lands in the webmail Sent folder, and the same key reads incoming mail.

Does the API cost extra?

No. API sends come out of the company's monthly sending allowance just like webmail; add a send pack if you need more. Keys are available to companies that have paid at least once.

Can I send bulk marketing email?

No. 82mail is for business email: up to 50 recipients per message, the same content to at most 50 people per company per day, and subjects starting with (AD) are refused.

Saatnya mencantumkan email perusahaan di kartu nama Anda

20 kotak surat gratis. Tanpa kartu kredit.