# EmailSecurity

## Investigate

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateListResponse">InvestigateListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateGetResponse">InvestigateGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/email-security/investigate">client.EmailSecurity.Investigate.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateListParams">InvestigateListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateListResponse">InvestigateListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/investigate/{postfix_id}">client.EmailSecurity.Investigate.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, postfixID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateGetParams">InvestigateGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateGetResponse">InvestigateGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Detections

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateDetectionGetResponse">InvestigateDetectionGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/email-security/investigate/{postfix_id}/detections">client.EmailSecurity.Investigate.Detections.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateDetectionService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, postfixID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateDetectionGetParams">InvestigateDetectionGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateDetectionGetResponse">InvestigateDetectionGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Preview

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigatePreviewNewResponse">InvestigatePreviewNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigatePreviewGetResponse">InvestigatePreviewGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/email-security/investigate/preview">client.EmailSecurity.Investigate.Preview.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigatePreviewService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigatePreviewNewParams">InvestigatePreviewNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigatePreviewNewResponse">InvestigatePreviewNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/investigate/{postfix_id}/preview">client.EmailSecurity.Investigate.Preview.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigatePreviewService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, postfixID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigatePreviewGetParams">InvestigatePreviewGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigatePreviewGetResponse">InvestigatePreviewGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Raw

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateRawGetResponse">InvestigateRawGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/email-security/investigate/{postfix_id}/raw">client.EmailSecurity.Investigate.Raw.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateRawService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, postfixID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateRawGetParams">InvestigateRawGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateRawGetResponse">InvestigateRawGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Trace

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateTraceGetResponse">InvestigateTraceGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/email-security/investigate/{postfix_id}/trace">client.EmailSecurity.Investigate.Trace.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateTraceService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, postfixID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateTraceGetParams">InvestigateTraceGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateTraceGetResponse">InvestigateTraceGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Move

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateMoveNewResponse">InvestigateMoveNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateMoveBulkResponse">InvestigateMoveBulkResponse</a>

Methods:

- <code title="post /accounts/{account_id}/email-security/investigate/{postfix_id}/move">client.EmailSecurity.Investigate.Move.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateMoveService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, postfixID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateMoveNewParams">InvestigateMoveNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateMoveNewResponse">InvestigateMoveNewResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/email-security/investigate/move">client.EmailSecurity.Investigate.Move.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateMoveService.Bulk">Bulk</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateMoveBulkParams">InvestigateMoveBulkParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateMoveBulkResponse">InvestigateMoveBulkResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Reclassify

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateReclassifyNewResponse">InvestigateReclassifyNewResponse</a>

Methods:

- <code title="post /accounts/{account_id}/email-security/investigate/{postfix_id}/reclassify">client.EmailSecurity.Investigate.Reclassify.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateReclassifyService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, postfixID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateReclassifyNewParams">InvestigateReclassifyNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateReclassifyNewResponse">InvestigateReclassifyNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Release

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateReleaseBulkResponse">InvestigateReleaseBulkResponse</a>

Methods:

- <code title="post /accounts/{account_id}/email-security/investigate/release">client.EmailSecurity.Investigate.Release.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateReleaseService.Bulk">Bulk</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateReleaseBulkParams">InvestigateReleaseBulkParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#InvestigateReleaseBulkResponse">InvestigateReleaseBulkResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Settings

### AllowPolicies

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyNewResponse">SettingAllowPolicyNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyListResponse">SettingAllowPolicyListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyDeleteResponse">SettingAllowPolicyDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyEditResponse">SettingAllowPolicyEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyGetResponse">SettingAllowPolicyGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/email-security/settings/allow_policies">client.EmailSecurity.Settings.AllowPolicies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyNewParams">SettingAllowPolicyNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyNewResponse">SettingAllowPolicyNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/allow_policies">client.EmailSecurity.Settings.AllowPolicies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyListParams">SettingAllowPolicyListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyListResponse">SettingAllowPolicyListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/email-security/settings/allow_policies/{policy_id}">client.EmailSecurity.Settings.AllowPolicies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, policyID <a href="https://pkg.go.dev/builtin#int64">int64</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyDeleteParams">SettingAllowPolicyDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyDeleteResponse">SettingAllowPolicyDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/email-security/settings/allow_policies/{policy_id}">client.EmailSecurity.Settings.AllowPolicies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, policyID <a href="https://pkg.go.dev/builtin#int64">int64</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyEditParams">SettingAllowPolicyEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyEditResponse">SettingAllowPolicyEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/allow_policies/{policy_id}">client.EmailSecurity.Settings.AllowPolicies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, policyID <a href="https://pkg.go.dev/builtin#int64">int64</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyGetParams">SettingAllowPolicyGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingAllowPolicyGetResponse">SettingAllowPolicyGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### BlockSenders

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderNewResponse">SettingBlockSenderNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderListResponse">SettingBlockSenderListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderDeleteResponse">SettingBlockSenderDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderEditResponse">SettingBlockSenderEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderGetResponse">SettingBlockSenderGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/email-security/settings/block_senders">client.EmailSecurity.Settings.BlockSenders.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderNewParams">SettingBlockSenderNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderNewResponse">SettingBlockSenderNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/block_senders">client.EmailSecurity.Settings.BlockSenders.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderListParams">SettingBlockSenderListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderListResponse">SettingBlockSenderListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/email-security/settings/block_senders/{pattern_id}">client.EmailSecurity.Settings.BlockSenders.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, patternID <a href="https://pkg.go.dev/builtin#int64">int64</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderDeleteParams">SettingBlockSenderDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderDeleteResponse">SettingBlockSenderDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/email-security/settings/block_senders/{pattern_id}">client.EmailSecurity.Settings.BlockSenders.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, patternID <a href="https://pkg.go.dev/builtin#int64">int64</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderEditParams">SettingBlockSenderEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderEditResponse">SettingBlockSenderEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/block_senders/{pattern_id}">client.EmailSecurity.Settings.BlockSenders.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, patternID <a href="https://pkg.go.dev/builtin#int64">int64</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderGetParams">SettingBlockSenderGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingBlockSenderGetResponse">SettingBlockSenderGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Domains

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainListResponse">SettingDomainListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainDeleteResponse">SettingDomainDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainBulkDeleteResponse">SettingDomainBulkDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainEditResponse">SettingDomainEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainGetResponse">SettingDomainGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/email-security/settings/domains">client.EmailSecurity.Settings.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainListParams">SettingDomainListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainListResponse">SettingDomainListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/email-security/settings/domains/{domain_id}">client.EmailSecurity.Settings.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, domainID <a href="https://pkg.go.dev/builtin#int64">int64</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainDeleteParams">SettingDomainDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainDeleteResponse">SettingDomainDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/email-security/settings/domains">client.EmailSecurity.Settings.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainService.BulkDelete">BulkDelete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainBulkDeleteParams">SettingDomainBulkDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainBulkDeleteResponse">SettingDomainBulkDeleteResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/email-security/settings/domains/{domain_id}">client.EmailSecurity.Settings.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, domainID <a href="https://pkg.go.dev/builtin#int64">int64</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainEditParams">SettingDomainEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainEditResponse">SettingDomainEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/domains/{domain_id}">client.EmailSecurity.Settings.Domains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, domainID <a href="https://pkg.go.dev/builtin#int64">int64</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainGetParams">SettingDomainGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingDomainGetResponse">SettingDomainGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### ImpersonationRegistry

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryNewResponse">SettingImpersonationRegistryNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryListResponse">SettingImpersonationRegistryListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryDeleteResponse">SettingImpersonationRegistryDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryEditResponse">SettingImpersonationRegistryEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryGetResponse">SettingImpersonationRegistryGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/email-security/settings/impersonation_registry">client.EmailSecurity.Settings.ImpersonationRegistry.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryNewParams">SettingImpersonationRegistryNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryNewResponse">SettingImpersonationRegistryNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/impersonation_registry">client.EmailSecurity.Settings.ImpersonationRegistry.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryListParams">SettingImpersonationRegistryListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryListResponse">SettingImpersonationRegistryListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/email-security/settings/impersonation_registry/{display_name_id}">client.EmailSecurity.Settings.ImpersonationRegistry.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, displayNameID <a href="https://pkg.go.dev/builtin#int64">int64</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryDeleteParams">SettingImpersonationRegistryDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryDeleteResponse">SettingImpersonationRegistryDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/email-security/settings/impersonation_registry/{display_name_id}">client.EmailSecurity.Settings.ImpersonationRegistry.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, displayNameID <a href="https://pkg.go.dev/builtin#int64">int64</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryEditParams">SettingImpersonationRegistryEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryEditResponse">SettingImpersonationRegistryEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/impersonation_registry/{display_name_id}">client.EmailSecurity.Settings.ImpersonationRegistry.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, displayNameID <a href="https://pkg.go.dev/builtin#int64">int64</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryGetParams">SettingImpersonationRegistryGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingImpersonationRegistryGetResponse">SettingImpersonationRegistryGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### TrustedDomains

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainNewResponseUnion">SettingTrustedDomainNewResponseUnion</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainListResponse">SettingTrustedDomainListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainDeleteResponse">SettingTrustedDomainDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainEditResponse">SettingTrustedDomainEditResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainGetResponse">SettingTrustedDomainGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/email-security/settings/trusted_domains">client.EmailSecurity.Settings.TrustedDomains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainNewParams">SettingTrustedDomainNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainNewResponseUnion">SettingTrustedDomainNewResponseUnion</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/trusted_domains">client.EmailSecurity.Settings.TrustedDomains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainListParams">SettingTrustedDomainListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainListResponse">SettingTrustedDomainListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/email-security/settings/trusted_domains/{trusted_domain_id}">client.EmailSecurity.Settings.TrustedDomains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, trustedDomainID <a href="https://pkg.go.dev/builtin#int64">int64</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainDeleteParams">SettingTrustedDomainDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainDeleteResponse">SettingTrustedDomainDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="patch /accounts/{account_id}/email-security/settings/trusted_domains/{trusted_domain_id}">client.EmailSecurity.Settings.TrustedDomains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainService.Edit">Edit</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, trustedDomainID <a href="https://pkg.go.dev/builtin#int64">int64</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainEditParams">SettingTrustedDomainEditParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainEditResponse">SettingTrustedDomainEditResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/email-security/settings/trusted_domains/{trusted_domain_id}">client.EmailSecurity.Settings.TrustedDomains.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, trustedDomainID <a href="https://pkg.go.dev/builtin#int64">int64</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainGetParams">SettingTrustedDomainGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SettingTrustedDomainGetResponse">SettingTrustedDomainGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Submissions

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SubmissionListResponse">SubmissionListResponse</a>

Methods:

- <code title="get /accounts/{account_id}/email-security/submissions">client.EmailSecurity.Submissions.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SubmissionService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SubmissionListParams">SubmissionListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security">email_security</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/email_security#SubmissionListResponse">SubmissionListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
