# Hermoso: connect_email_provider · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/connect_email_provider/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / connect_email_provider

# `connect_email_provider`

Connect an email provider to a bought domain destructive

Area: LAUNCH PAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`domain` required `string` the domain, e.g. yourbrand.com

`provider` required `"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](https://hermoso.ai/docs/credits/).

## Related tools

- [delete_dns_record](https://hermoso.ai/docs/reference/publish/delete_dns_record/) Delete a DNS record
- [create_domain_address](https://hermoso.ai/docs/reference/publish/create_domain_address/) Add an email address to a domain
- [set_dns_record](https://hermoso.ai/docs/reference/publish/set_dns_record/) Add or change a DNS record
- [list_domain_mail](https://hermoso.ai/docs/reference/publish/list_domain_mail/) List domain inbox email
- [list_dns_records](https://hermoso.ai/docs/reference/publish/list_dns_records/) List DNS records of a bought domain
- [get_domain_mail](https://hermoso.ai/docs/reference/publish/get_domain_mail/) Read a domain inbox conversation
- [set_email_forwarding](https://hermoso.ai/docs/reference/publish/set_email_forwarding/) Forward email on a bought domain
- [reply_domain_mail](https://hermoso.ai/docs/reference/publish/reply_domain_mail/) Reply to a domain inbox email
- [transfer_out](https://hermoso.ai/docs/reference/publish/transfer_out/) Move a domain to another registrar
- [send_domain_mail](https://hermoso.ai/docs/reference/publish/send_domain_mail/) Send an email from the domain

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
