connect_email_provider
Connect an email provider to a bought domain destructive
Description
Connect the email provider the user signed up for (google_workspace, microsoft_365, zoho, fastmail, or custom with mx + spfInclude) to a domain bought through Hermoso in one step: its MX, ONE SPF merged with the includes already there, DKIM (dkim {selector, value}; Microsoft: {selector1, selector2}), DMARC (p=none unless asked) and its verification TXT. Hermoso's email forwarding goes off, since mail can only go one way. Without confirm:true when it replaces the MX nothing changes. Answers the provider's own verification steps. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
domainrequired | string | the domain, e.g. yourbrand.com |
providerrequired | "google_workspace" | "microsoft_365" | "zoho" | "fastmail" | "custom" | |
verification | string | the provider's domain verification TXT, e.g. google-site-verification=... or MS=ms... |
dkim | object | |
dkim.selector | string | |
dkim.value | string | |
dkim.type | "TXT" | "CNAME" | |
dkim.selector1 | string | |
dkim.selector2 | string | |
dmarc | object | |
dmarc.policy | "none" | "quarantine" | "reject" | |
dmarc.rua | string | |
mx | string | string[] | Microsoft: the MX value its admin center shows; custom: the mail servers, e.g. ["10 mx1.host.com"] |
spfInclude | string | custom only |
region | string | Zoho data center: com, eu, in, com.au, jp, ca, sa |
confirm | boolean | true only after the user approved it |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/connect_email_provider.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"connect_email_provider","arguments":{"domain":"<string>","provider":"<one of the listed values>"}}}
CLI
hermoso call connect_email_provider --json '{"domain":"<string>","provider":"<one of the listed values>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
delete_dns_recordDelete a DNS recordcreate_domain_addressAdd an email address to a domainset_dns_recordAdd or change a DNS recordlist_domain_mailList domain inbox emaillist_dns_recordsList DNS records of a bought domainget_domain_mailRead a domain inbox conversationset_email_forwardingForward email on a bought domainreply_domain_mailReply to a domain inbox emailtransfer_outMove a domain to another registrarsend_domain_mailSend an email from the domain