{"id":10741,"date":"2026-05-19T02:35:05","date_gmt":"2026-05-19T02:35:05","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=10741"},"modified":"2026-05-19T02:35:05","modified_gmt":"2026-05-19T02:35:05","slug":"how-to-use-agentic-mail-in-hpanel","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-use-agentic-mail-in-hpanel\/","title":{"rendered":"How to use Agentic Mail in hPanel"},"content":{"rendered":"<h2 id=\"h-what-is-agentic-mail\">What is Agentic Mail?<\/h2><p>Agentic Mail is a feature of Hostinger&rsquo;s email product that exposes your mailboxes to code and AI agents. It works only with Business Premium Plans. Instead of only reading and sending mail through a desktop client, Agentic Mail lets external programs react to incoming messages in real time, control which addresses mail can reach, and manage the whole mailbox lifecycle through a REST API.<\/p><p>It lives inside hPanel &rarr; Emails &rarr; &lt;your domain&gt; &rarr; Agentic mail and currently offers four building blocks:<\/p><ul>\n<li><strong>Webhooks<\/strong> &mdash; real-time HTTP push notifications when events occur<\/li>\n<li><strong>Allow \/ Block lists<\/strong> &mdash; outbound send-control per mailbox<\/li>\n<li><strong>API<\/strong> &mdash; programmatic CRUD over all mailbox operations. Allows to send \/ manage and receive emails via API.<\/li>\n<li><strong>MCP Server<\/strong> &mdash; one-click Model Context Protocol integration (coming soon)<\/li>\n<\/ul><h2 id=\"h-who-is-agentic-mail-designed-for\">Who is Agentic Mail designed for?<\/h2><p>Agentic Mail is aimed at developers, AI enthusiasts, and technically-minded business owners who want their email to be an active part of their automated workflows. Typical use cases include:<\/p><ul>\n<li>Building AI-powered inbox assistants or triage bots that react the moment a message arrives<\/li>\n<li>Connect AI agents such as Openclaw or Hermes<\/li>\n<li>Connecting Hostinger email to no-code\/low-code platforms (n8n, Make, Zapier) via webhooks<\/li>\n<li>Programmatically sending transactional email and reading replies through the REST API<\/li>\n<li>Controlling outbound email scope for automated mailboxes to prevent accidental spam<\/li>\n<\/ul><h2 id=\"h-where-do-i-find-agentic-mail-in-hpanel\">Where do I find Agentic Mail in hPanel?<\/h2><ol>\n<li>Log in to hPanel at hpanel.hostinger.com<\/li>\n<li>Click Emails in the left sidebar<\/li>\n<li>Select the domain whose mailbox you want to configure<\/li>\n<li>Scroll down the secondary sidebar and click Agentic mail<\/li>\n<li>You land on the Overview page showing all available features<\/li>\n<\/ol><h2 id=\"h-what-is-a-webhook-and-how-does-it-work-in-agentic-mail\">What is a webhook and how does it work in Agentic Mail?<\/h2><p>A webhook is a real-time HTTP push notification. When a configured event happens on your mailbox &mdash; currently message.received &mdash; Hostinger Mail immediately sends an HTTP POST request containing a JSON payload to the URL you specify. Your server or agent can then parse and act on that data without polling.<\/p><p>Webhooks use Bearer token authentication. Your token is displayed only once, immediately after creation. Make sure to copy it before leaving the page &mdash; you will not be able to retrieve it again.<\/p><h2 id=\"h-how-do-i-add-a-new-webhook\">How do I add a new webhook?<\/h2><ol>\n<li>Go to Agentic mail &rarr; Webhooks<\/li>\n<li>Click the Add webhook button (top-right, purple)<\/li>\n<li>Choose the mailbox to monitor from the dropdown<\/li>\n<li>Enter your Webhook URL &mdash; must be a publicly accessible HTTPS endpoint<\/li>\n<li>Trigger event is pre-set to message.received (the only available event)<\/li>\n<li>Click Add webhook to save<\/li>\n<\/ol><p><img decoding=\"async\" class=\"alignnone size-full wp-image-10742\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-26.png\" alt=\"\" width=\"954\" height=\"561\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-26.png 954w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-26-300x176.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-26-768x452.png 768w\" sizes=\"(max-width: 954px) 100vw, 954px\" \/><\/p><h2 id=\"h-what-does-the-message-received-trigger-event-mean\">What does the &ldquo;message.received&rdquo; trigger event mean?<\/h2><p>message.received fires when a new email lands in the monitored mailbox. Hostinger Mail sends the POST immediately after delivery, so your agent receives the notification in real time &mdash; no IMAP polling needed. The JSON payload includes message metadata (sender, subject, truncated message, timestamp) for downstream processing.<\/p><h2 id=\"h-how-do-i-test-whether-my-webhook-is-working\">How do I test whether my webhook is working?<\/h2><p>Each webhook row has a Test button. Clicking it sends a sample POST to your URL so you can verify the endpoint receives and parses it &mdash; without sending a real email. Check the Recent deliveries table at the bottom for the result (timestamp, status, and response duration). If it fails, confirm your URL is reachable over public HTTPS and returns 200.<\/p><h2 id=\"h-how-do-i-enable-or-disable-a-webhook-without-deleting-it\">How do I enable or disable a webhook without deleting it?<\/h2><p>Use the Active toggle on the right side of each webhook row. Blue\/on = live and receiving events. Grey\/off = paused but configuration preserved. Useful during server maintenance or when deploying a new version of your endpoint.<\/p><h2 id=\"h-what-does-regenerate-secret-do-and-when-should-i-use-it\">What does &ldquo;Regenerate secret&rdquo; do, and when should I use it?<\/h2><p>Every webhook request includes a Bearer token in the <strong>Authorization<\/strong> header. Your endpoint can check this token to confirm the request came from Hostinger Mail.<\/p><p>Regenerate token (from the &#8942; three-dot menu) creates a new token and immediately invalidates the old one. Use it when: the token may have been exposed, a team member with access has left, or you rotate tokens on a regular schedule.<\/p><p><img decoding=\"async\" class=\"alignnone size-full wp-image-10743\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27.png\" alt=\"\" width=\"948\" height=\"562\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27.png 948w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27-300x178.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27-768x455.png 768w\" sizes=\"(max-width: 948px) 100vw, 948px\" \/><\/p><h2 id=\"h-what-are-allow-block-lists-and-how-do-they-affect-my-email\">What are Allow\/Block lists and how do they affect my email?<\/h2><p>Allow\/Block lists control outbound sending from each mailbox &mdash; they determine which addresses or domains the mailbox is permitted to send mail to.<\/p><ul>\n<li><strong>Allow list<\/strong>: When non-empty, the mailbox can only send to addresses or domains on this list. Leave empty to allow sending to anyone.<\/li>\n<li><strong>Block list<\/strong>: Addresses or domains on this list are silently rejected at send time &mdash; they never receive the mail and the sender sees no bounce.<\/li>\n<\/ul><p>You can add individual addresses (name@domain.com) or entire domains (domain.com) to either list. Lists are per-mailbox &mdash; use the dropdown at the top of the page to switch.<\/p><p><img decoding=\"async\" class=\"alignnone size-full wp-image-10744\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_1.png\" alt=\"\" width=\"954\" height=\"561\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_1.png 954w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_1-300x176.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_1-768x452.png 768w\" sizes=\"(max-width: 954px) 100vw, 954px\" \/><\/p><h2 id=\"h-what-happens-if-an-address-is-on-both-the-allow-list-and-the-block-list\">What happens if an address is on both the Allow list and the Block list?<\/h2><p>The Block list always takes priority. If an address (or its domain) appears on both lists, the email is silently rejected. This prevents a broad Allow entry (e.g. all of example.com) from accidentally overriding a specific block. You also can block entire domain e.g. example.com, but still allow peter@example.com.<\/p><h2 id=\"h-what-can-i-do-with-the-agentic-mail-rest-api\">What can I do with the Agentic Mail REST API?<\/h2><p>The Hostinger Mail REST API gives full programmatic control over your mailboxes. With a valid token your application can:<\/p><ul>\n<li><strong>Manage all SMTP\/IMAP actions<\/strong> &mdash; send email, read messages, manage folders, mark as read, move, delete<\/li>\n<li><strong>Manage webhooks<\/strong> &mdash; create, update, delete, and list webhook configurations<\/li>\n<\/ul><p>The API follows REST conventions and accepts\/returns JSON. Full documentation is available via the <a href=\"https:\/\/api.mail.hostinger.com\/#description\/introduction\" target=\"_blank\" rel=\"noopener\">API documentation<\/a>.<\/p><p><img decoding=\"async\" class=\"alignnone size-full wp-image-10745\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_2.png\" alt=\"\" width=\"962\" height=\"566\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_2.png 962w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_2-300x177.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_2-768x452.png 768w\" sizes=\"(max-width: 962px) 100vw, 962px\" \/><\/p><h2 id=\"h-how-do-i-create-an-api-token\">How do I create an API token?<\/h2><ol>\n<li>Go to Agentic mail &rarr; API<\/li>\n<li>Click Create API token (top-right)<\/li>\n<li>Enter a descriptive Token name (e.g. my-agent-prod)<\/li>\n<li>Choose Mailbox access: All mailboxes (every current and future mailbox) or Selected mailboxes (specific addresses only)<\/li>\n<li>Review the permissions: Manage all SMTP\/IMAP actions + Manage webhooks<\/li>\n<li>Click Create token and copy it immediately &mdash; it is only shown once<\/li>\n<\/ol><p><img decoding=\"async\" class=\"alignnone size-full wp-image-10746\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_3.png\" alt=\"\" width=\"929\" height=\"557\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_3.png 929w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_3-300x180.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/05\/2026-05-19_09-27_3-768x460.png 768w\" sizes=\"(max-width: 929px) 100vw, 929px\" \/><\/p><h2 id=\"h-what-is-the-difference-between-all-mailboxes-and-selected-mailboxes-scope\">What is the difference between &lsquo;All mailboxes&rsquo; and &lsquo;Selected mailboxes&rsquo; scope?<\/h2><ul>\n<li><strong>All mailboxes<\/strong> &mdash; access to every current mailbox and any added in the future. Best for admin-level or account-wide automations.<\/li>\n<li><strong>Selected mailboxes<\/strong> &mdash; restricted to the specific mailboxes you tick. Best for third-party integrations (principle of least privilege).<\/li>\n<\/ul><h2 id=\"h-what-is-the-mcp-server-and-when-will-it-be-available\">What is the MCP Server and when will it be available?<\/h2><p>The MCP Server (Model Context Protocol) is an upcoming feature that lets you connect your AI agent stack to Hostinger Mail with minimal setup via a dedicated MCP endpoint. MCP is a standard protocol that major LLM frameworks (Claude, Cursor, and others) use to call external tools without custom integration code.<\/p><p>Once live, you will point your AI framework at the Hostinger Mail MCP server URL and immediately give your agent the ability to read, send, and manage email &mdash; no REST calls or SDK required on your side.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to configure Agentic Mail to expose your mailboxes to code and AI agents via webhooks, REST APIs, and outbound lists.<\/p>\n","protected":false},"author":594,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[311],"tags":[],"class_list":["post-10741","post","type-post","status-publish","format-standard","hentry","category-hostinger-agentic-mail"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/how-to-use-agentic-mail-in-hpanel","default":1}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/594"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=10741"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10741\/revisions"}],"predecessor-version":[{"id":10747,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10741\/revisions\/10747"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=10741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=10741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=10741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}