Package Information
Available Nodes
Documentation generating…
Documentation
n8n-nodes-hostinger-mail
This is an n8n community node package for the Hostinger Email API. It lets you send and manage email in your Hostinger mailboxes from n8n workflows, and trigger workflows when new mail arrives.
The package contains two nodes:
- Hostinger Mail — call the Hostinger Email API (send email, manage messages, folders and webhooks)
- Hostinger Mail Trigger — start a workflow when a new email arrives in a mailbox (uses the API's
message.receivedwebhook)
Installation
Follow the installation guide in the n8n community nodes documentation.
In a self-hosted n8n instance: Settings → Community Nodes → Install, then enter n8n-nodes-hostinger-mail.
Credentials
- Generate an API token for Hostinger Email (in hPanel, under your email plan).
- In n8n, create new Hostinger Mail API credentials and paste the token.
- The credential test calls
GET /api/v1/meto verify the token.
The token is sent as a Authorization: Bearer <token> header on every request.
Hostinger Mail node
| Resource | Operations |
|---|---|
| Account | Get (authenticated account and manageable mailboxes) |
| Send (text/HTML body, CC/BCC, attachments from binary data, inline images via Content-ID) | |
| Message | Get, Get Many, Search, Get Text, Get Source (.eml as binary), Download Attachment (binary), Move, Move Many, Update Flags, Update Flags Many, Delete, Delete Many, Delete All |
| Folder | Get Many, Create, Update (rename), Delete |
| Webhook | Get, Get Many, Create, Update, Delete, Regenerate Secret, Test |
Mailboxes and folders are loaded dynamically into dropdowns from your account, and can also be set with expressions.
Hostinger Mail Trigger node
Select a mailbox and activate the workflow. The node automatically:
- Registers a webhook for the
message.receivedevent pointing at your n8n webhook URL. - Verifies each delivery using the webhook secret (sent by Hostinger as a bearer token).
- Removes the webhook when the workflow is deactivated.
Your n8n instance must be reachable from the internet for deliveries to arrive (set WEBHOOK_URL if you are behind a proxy).
Development
npm install
npm run dev # run n8n locally with the node loaded
npm run lint # lint with the n8n community node rules
npm run build # build to dist/
Publishing
npm run release
This bumps the version, tags, and pushes; the included GitHub Actions workflow (.github/workflows/publish.yml) publishes to npm. Alternatively run npm publish directly after npm run build.