Turn support@ emails into tickets automatically
Send every email to support@ to your helpdesk or your own ticket system as JSON the moment it arrives, with sender, subject, body and attachments.
Why automate it
Customers write to support@yourcompany.com, and someone copies each message into the ticket system by hand. A webhook on that address does it for you: each new email becomes a ticket within seconds, and the mailbox stays as the archive.
Set it up in three steps
- 1
Filter on the address
Create a webhook with To or Cc matches set to support@*. Mail to other addresses isn't sent.
- 2
Receive the message as JSON
Your endpoint gets the sender, subject, plain-text and HTML body, and the attachment list, plus a queue field you add as extra JSON.
- 3
Create the ticket
Store it in your helpdesk or database. The message id lets you fetch attachments or move the email to a Done folder later with the REST API.
The webhook to create
In Settings › Developer, after you sign in.
| Format | JSON |
|---|---|
| From matches | empty (any sender) |
| To or Cc matches | support@* |
| Request headers | none needed |
| Extra JSON | {"queue": "support", "priority": "normal"} |
- No forwarding rules or shared passwords: the mailbox stays yours.
- Retries if your helpdesk is briefly down, after 30 seconds and again after 5 minutes.
- Patterns such as ^(support|help)@ cover several addresses with one webhook.
Python (Flask): create a ticket for each email
Every request includes the webhook's token in X-Polpo-Webhook-Token; check it first. See the payload reference.
@app.post("/hooks/support")
def new_ticket():
if not hmac.compare_digest(request.headers.get("X-Polpo-Webhook-Token", ""), TOKEN):
abort(401)
p = request.json
m = p["message"]
db.tickets.insert(
queue=p["queue"], # from your extra JSON
customer=m["from"]["address"],
subject=m["subject"],
body=m["text"] or m["html"],
mail_id=m["id"], # for the REST API later
attachments=[a["filename"] for a in m["attachments"]],
)
return "", 204
Common questions
Does the email still arrive in the mailbox?
Yes. The webhook is sent after the message is stored, so the mailbox keeps a full copy and your team can still reply from webmail or any mail app.
Can I send support mail and sales mail to different systems?
Yes. Each account can have up to five webhooks, each with its own address filter, URL, format and headers.
Is this included in the free plan?
Yes. Webhooks, the REST API and access tokens are included free, with up to 5 webhooks per mailbox and up to 10 mailboxes per domain.
More use cases
Sales enquiries into your CRM
Post every email to sales@ to your CRM or lead database as JSON, with your API key in a custom header, so no enquiry gets lost in an inbox.
See how →Supplier invoices to accounting
When an invoice arrives at invoices@, your webhook gets the details and a link to download each PDF with the REST API, ready for bookkeeping or OCR.
See how →Alerts in Slack, Teams or Discord
Forward alert, order or VIP emails to a team chat channel: a webhook sends the email to a small function or automation that posts the message.
See how →Zapier, Make and n8n without polling
Use a webhook as an instant email trigger for no-code automations: point it at a Zapier Catch Hook, a Make custom webhook or an n8n Webhook node.
See how →AI triage and auto-sorting
Send each new email to your own AI classifier, then file, flag or draft a reply with the REST API: email triage you control, on your own domain.
See how →Start with one webhook.
Free business email on your own domain, with webhooks and a REST API included.
Create your free workspace