hermosodocs

connect_email_provider

Connect an email provider to a bought domain destructive

Area: LAUNCH PAGES · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
domainrequiredstringthe domain, e.g. yourbrand.com
providerrequired"google_workspace" | "microsoft_365" | "zoho" | "fastmail" | "custom"
verificationstringthe provider's domain verification TXT, e.g. google-site-verification=... or MS=ms...
dkimobject
dkim.selectorstring
dkim.valuestring
dkim.type"TXT" | "CNAME"
dkim.selector1string
dkim.selector2string
dmarcobject
dmarc.policy"none" | "quarantine" | "reject"
dmarc.ruastring
mxstring | string[]Microsoft: the MX value its admin center shows; custom: the mail servers, e.g. ["10 mx1.host.com"]
spfIncludestringcustom only
regionstringZoho data center: com, eu, in, com.au, jp, ca, sa
confirmbooleantrue 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.

All 728 Publishing & scheduling tools · tools.json