{"id":13944,"date":"2026-07-30T01:51:58","date_gmt":"2026-07-30T01:51:58","guid":{"rendered":"https:\/\/www.hostinger.com\/support\/?p=13944"},"modified":"2026-07-30T01:51:58","modified_gmt":"2026-07-30T01:51:58","slug":"how-to-connect-hostinger-agentic-mail-to-managed-openclaw","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/how-to-connect-hostinger-agentic-mail-to-managed-openclaw\/","title":{"rendered":"How to connect Hostinger Agentic Mail to Managed OpenClaw"},"content":{"rendered":"<p>Connect <a href=\"https:\/\/www.hostinger.com\/agentic-mail\"><strong>Hostinger Agentic Mail<\/strong><\/a> to your <a href=\"https:\/\/www.hostinger.com\/applications\/openclaw\"><strong>Managed OpenClaw<\/strong><\/a> application so your AI agent can send, read, and manage emails directly from an existing mailbox on your domain. Once connected, OpenClaw can handle email tasks like drafting replies, sending notifications, or monitoring an inbox without manual setup for each request.<\/p><h3>Before you start<\/h3><ul>\n<li>An active <a href=\"https:\/\/www.hostinger.com\/support\/1583217-how-to-create-and-manage-mailboxes-for-hostinger-email\/\"><strong>Hostinger Email mailbox<\/strong> <\/a>on the domain you want to use. Agentic Mail is available on all Hostinger Email plans.<\/li>\n<li>An active <a href=\"https:\/\/www.hostinger.com\/support\/what-is-managed-openclaw-and-how-to-set-it-up\/\"><strong>Managed OpenClaw<\/strong><\/a> application.<\/li>\n<\/ul><h2 id=\"h-step-1-generate-an-agentic-mail-api-token\">Step 1 &ndash; Generate an Agentic Mail API token<\/h2><ol>\n<li>Go to the <a href=\"https:\/\/hpanel.hostinger.com\/emails\" target=\"_blank\" rel=\"noopener\"><strong>Emails<\/strong> <\/a>section of hPanel and click <strong>Mailboxes<\/strong> next to the domain you want to connect.<\/li>\n<li>In the sidebar, go to <strong>Agentic Mail<\/strong>, then select <strong>API access<\/strong>.<\/li>\n<li>Click<strong> Create API token<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13945\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-55.png\" alt=\"\" width=\"1904\" height=\"854\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-55.png 1904w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-55-300x135.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-55-1024x459.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-55-768x344.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-55-1536x689.png 1536w\" sizes=\"(max-width: 1904px) 100vw, 1904px\" \/><\/li>\n<li>In the <strong>Create API token<\/strong> window, enter a name for the token so you can identify it later. Then select <strong>All mailboxes<\/strong> to allow the token to access every mailbox on the domain, including ones added later. Alternatively, select <strong>Selected mailboxes<\/strong> and choose specific mailboxes if you want to limit access. Then click <strong>Create token<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13946\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-56.png\" alt=\"\" width=\"568\" height=\"699\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-56.png 568w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-56-244x300.png 244w\" sizes=\"(max-width: 568px) 100vw, 568px\" \/><\/li>\n<li>Copy the API token immediately and store it in a password manager or secrets vault.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13947\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-56_1.png\" alt=\"\" width=\"557\" height=\"385\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-56_1.png 557w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-56_1-300x207.png 300w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/li>\n<\/ol><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">The API token is shown only once. If you lose it, you&rsquo;ll need to generate a new one.<\/div><h2 id=\"h-step-2-add-the-api-token-to-managed-openclaw\">Step 2 &ndash; Add the API token to Managed OpenClaw<\/h2><ol>\n<li>Go to <a href=\"https:\/\/hpanel.hostinger.com\/applications\/openclaw\" target=\"_blank\" rel=\"noopener\"><strong>OpenClaw<\/strong> <\/a>from the left sidebar.<\/li>\n<li>Next to your OpenClaw application, click <strong>Manage<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13956\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-33.png\" alt=\"\" width=\"1892\" height=\"827\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-33.png 1892w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-33-300x131.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-33-1024x448.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-33-768x336.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-33-1536x671.png 1536w\" sizes=\"(max-width: 1892px) 100vw, 1892px\" \/><\/li>\n<li>In the sidebar, go to <strong>Environment, <\/strong>then click <strong>Add environment variables<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13957\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-34.png\" alt=\"\" width=\"1902\" height=\"855\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-34.png 1902w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-34-300x135.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-34-1024x460.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-34-768x345.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-34-1536x690.png 1536w\" sizes=\"(max-width: 1902px) 100vw, 1902px\" \/><\/li>\n<li>Write the key name, such as AGENTMAIL_API_KEY, then paste the API token you copied in Step 1 into the <strong>Value<\/strong> field, and click <strong>Update<\/strong>.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13949\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-05.png\" alt=\"\" width=\"594\" height=\"326\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-05.png 594w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-05-300x165.png 300w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/li>\n<li>Click<strong> Apply changes<\/strong> to save the environment variable.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13950\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-06.png\" alt=\"\" width=\"1908\" height=\"864\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-06.png 1908w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-06-300x136.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-06-1024x464.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-06-768x348.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-06-1536x696.png 1536w\" sizes=\"(max-width: 1908px) 100vw, 1908px\" \/><\/li>\n<li>Go back to the main Dashboard, then click <strong>Restart<\/strong> to restart the application with the updated environment variable.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13948\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-59.png\" alt=\"\" width=\"1907\" height=\"862\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-59.png 1907w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-59-300x136.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-59-1024x463.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-59-768x347.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_16-59-1536x694.png 1536w\" sizes=\"(max-width: 1907px) 100vw, 1907px\" \/><\/li>\n<\/ol><h2 id=\"h-step-3-connect-and-test-in-openclaw\">Step 3 &ndash; Connect and test in OpenClaw<\/h2><p>Once the application shows as <strong>Running<\/strong>, click <strong>OpenClaw<\/strong> to open its dashboard.<\/p><p><img decoding=\"async\" class=\"alignnone size-full wp-image-13958\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-43.png\" alt=\"\" width=\"1911\" height=\"863\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-43.png 1911w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-43-300x135.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-43-1024x462.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-43-768x347.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-43-1536x694.png 1536w\" sizes=\"(max-width: 1911px) 100vw, 1911px\" \/><\/p><p>You can connect using either of the following methods.<\/p><h3>Option 1 &ndash; Connect via the API<\/h3><ol>\n<li>Send a message asking OpenClaw to use the AGENTMAIL_API_KEY variable to connect to Hostinger&rsquo;s Agentic Mail API at https:\/\/api.mail.hostinger.com\/#description\/introduction.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13953\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-53.png\" alt=\"\" width=\"1912\" height=\"837\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-53.png 1912w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-53-300x131.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-53-1024x448.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-53-768x336.png 768w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-29_17-53-1536x672.png 1536w\" sizes=\"(max-width: 1912px) 100vw, 1912px\" \/><\/li>\n<li>OpenClaw will look up the correct API endpoint and confirm the connection. It can then list existing mailboxes on your domain.<\/li>\n<li>Test the connection by asking OpenClaw to send an email using one of your existing mailboxes as the sender.<\/li>\n<\/ol><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">Ensure you explicitly provide the<strong> full API URL<\/strong> (https:\/\/api.mail.hostinger.com\/#description\/introduction) so OpenClaw recognizes the Hostinger API endpoints.<\/div><h3>Option 2 &ndash; Connect via MCP<\/h3><ol>\n<li>Send a message asking OpenClaw to connect to the MCP server at https:\/\/mcp.mail.hostinger.com\/mcp using the token from the AGENTMAIL_API_KEY variable.<br>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-13955\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-28.png\" alt=\"\" width=\"1419\" height=\"324\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-28.png 1419w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-28-300x68.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-28-1024x234.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/07\/2026-07-30_08-28-768x175.png 768w\" sizes=\"(max-width: 1419px) 100vw, 1419px\" \/><\/li>\n<li>OpenClaw will connect to the MCP server and confirm the connection.<\/li>\n<li>Test the connection by asking OpenClaw to send another email to confirm it can still send successfully through the new connection.<\/li>\n<\/ol><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">Ensure you explicitly provide the <strong>full MCP URL<\/strong> (https:\/\/mcp.mail.hostinger.com\/mcp) so OpenClaw recognizes the Hostinger MCP server.<\/div><p>Once the test email sends successfully, <a href=\"https:\/\/www.hostinger.com\/applications\/openclaw\"><strong>OpenClaw<\/strong> <\/a>is connected to your <a href=\"https:\/\/www.hostinger.com\/agentic-mail\"><strong>Hostinger Agentic Mail<\/strong><\/a> and ready to handle email tasks automatically.<\/p><p><strong>NOTES<\/strong><\/p><ul>\n<li>Agentic Mail currently manages existing mailboxes only. There is no create-mailbox function available through the API, so new mailboxes must be created in hPanel under Business Email first.<\/li>\n<li>To learn more about managing and using your automated email features, check <a href=\"https:\/\/www.hostinger.com\/support\/how-to-use-agentic-mail-in-hpanel\/\"><strong>how to use Agentic Mail in hPanel<\/strong><\/a>.<\/li>\n<\/ul><p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Connect Hostinger Agentic Mail to Managed OpenClaw to automate email tasks for your AI agent.<\/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-13944","post","type-post","status-publish","format-standard","hentry","category-hostinger-agentic-mail"],"hreflangs":[],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/13944","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=13944"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/13944\/revisions"}],"predecessor-version":[{"id":13960,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/13944\/revisions\/13960"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=13944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=13944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=13944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}