{"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-09-15T10:21:01","modified_gmt":"2026-09-15T10:21:01","slug":"how-to-use-agentic-mail-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-use-agentic-mail-in-hostinger\/","title":{"rendered":"How to use Agentic Mail in Hostinger"},"content":{"rendered":"<p>Learn what Agentic Mail is at Hostinger and how it lets you connect your mailboxes to code and AI agents.<\/p><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. Agentic Mail is available on all Hostinger Email 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&rsquo;s available in both Hostinger dashboard and Webmail, 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; Model Context Protocol integration for AI agents<\/li>\n<\/ul><p>In <a href=\"https:\/\/www.hostinger.com\/support\/1583218-how-to-access-webmail-of-hostinger-email\/\"><strong>Webmail<\/strong><\/a>, Agentic Mail only controls settings for the mailbox you&rsquo;re currently logged into. In Hostinger dashboard, you can manage Agentic Mail settings for any mailbox on the domain.<\/p><p>Watch this video to see Agentic Mail in action &mdash; including how to set it up in Hostinger dashboard, connect it to Claude Desktop via the MCP server, and use it to sort, organize, and summarize your inbox.<\/p><div class=\"intercom-h2b-video\">\n<p><iframe title=\"I Connected Claude to My Email &amp; Now It Works for Me (Agentic Mail)\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/DzbkJ6wm0S0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<\/div><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\">Where do I find Agentic Mail?<\/h2><p>You can access Agentic Mail from either <a href=\"https:\/\/www.hostinger.com\/support\/1583518-how-to-access-the-dashboard-in-hostinger\/\">Hostinger dashboard<\/a> or <a href=\"https:\/\/www.hostinger.com\/support\/1583218-how-to-access-webmail-of-hostinger-email\/\">Webmail<\/a>.<\/p><p>From Hostinger dashboard:<\/p><ol>\n<li><a href=\"https:\/\/www.hostinger.com\/support\/1583518-how-to-access-the-dashboard-in-hostinger\/\">Log in to <strong>Hostinger dashboard<\/strong><\/a> at hpanel.hostinger.com<\/li>\n<li>Click <a href=\"https:\/\/www.hostinger.com\/support\/4768093-how-to-access-the-email-section-at-hostinger\/\"><strong>Emails<\/strong> <\/a>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 <strong>Agentic mail<\/strong><\/li>\n<li>You land on the <strong>Overview<\/strong> page showing all available features<\/li>\n<\/ol><p>From Webmail:<\/p><ol>\n<li><a href=\"https:\/\/www.hostinger.com\/support\/1583218-how-to-access-webmail-of-hostinger-email\/\">Log in to <strong>Webmail<\/strong><\/a> for the mailbox you want to configure<\/li>\n<li>Click <strong>Settings<\/strong> in the sidebar<\/li>\n<li>Click <strong>Agentic Mail<\/strong><\/li>\n<li>You land on the <strong>Overview<\/strong> page showing available features for that mailbox<\/li>\n<\/ol><p>Use <strong>Hostinger dashboard<\/strong> if you need to manage Agentic Mail settings across multiple mailboxes on the domain. Use <strong>Webmail<\/strong> if you only need to configure the mailbox you&rsquo;re currently logged into.<\/p><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\"><\/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\"><\/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\"><\/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\"><\/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\"><\/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\">What is the MCP Server?<\/h2><p>The MCP Server (Model Context Protocol) is now live. AI agents can interact with Hostinger Mail via MCP, enabling frameworks such as Claude and Cursor to read, send, and manage email through your Hostinger mailbox &mdash; no custom REST integration code required.<\/p><p>To access it, go to Hostinger dashboard &rarr; Emails &rarr; [your domain] &rarr; Agentic mail &rarr; MCP Server. Setup guides are available directly in Hostinger dashboard.<\/p><p>For Claude specifically, you can skip manual MCP configuration by connecting the official Hostinger Mail connector from the Claude directory at <strong>claude.ai\/directory\/connectors\/hostinger-mail<\/strong>. This is the fastest way to connect Hostinger Mail to Claude, since authorization happens through Claude&rsquo;s connector flow instead of manual setup.<\/p><p>For other MCP-compatible platforms, or for more advanced configurations, setup currently requires technical knowledge. Supported AI platforms will expand over time. Full API documentation is available at api.mail.hostinger.com.<\/p><p><strong>Additional resources<\/strong><\/p><ul>\n<li><a href=\"https:\/\/www.hostinger.com\/support\/how-to-connect-hostinger-mail-to-chatgpt\/\">How to connect Hostinger Mail to ChatGPT at Hostinger<\/a><\/li>\n<li><a href=\"https:\/\/www.hostinger.com\/support\/how-to-connect-hostinger-agentic-mail-to-managed-openclaw\/\">How to connect Hostinger Agentic Mail to Managed OpenClaw<\/a><\/li>\n<\/ul>\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":13,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10741\/revisions"}],"predecessor-version":[{"id":15436,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/10741\/revisions\/15436"}],"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}]}}