-
GET List Email ConfigsReturns a paginated list of email configurations the current user can access (owned or shared). EmailConnections admins see all configurations includi.../tenants/{tenant}/email-configs
-
POST Create Email ConfigCreates a new email configuration. For SMTP: provide SmtpSettings. For OAuth (Microsoft365/Google): provide OAuthSettings with returnUrl - response in.../tenants/{tenant}/email-configs
-
GET Get Email ConfigReturns a single email configuration including provider details (SMTP settings, OAuth status). User must be the owner or an admin, or the config must .../tenants/{tenant}/email-configs/{code}
-
PUT Update Email ConfigUpdates an existing email configuration. Supports updating provider settings (SMTP or OAuth), display name (FromName), and flags (IsDefault, IsSendSha.../tenants/{tenant}/email-configs/{code}
-
DELETE Delete Email ConfigDeletes an email configuration. Cannot delete the tenant's default config unless it is the only one remaining. User must be the connection's owner or .../tenants/{tenant}/email-configs/{code}
-
POST Test Email ConfigSends a test email using the specified configuration to verify it is working correctly. User must be the connection's owner or an admin. Requires: Up.../tenants/{tenant}/email-configs/{code}/test
-
POST Reconnect OAuth email configurationGenerates a fresh OAuth authorisation URL for reconnecting an expired or incorrectly-connected email configuration. Only works for OAuth providers (Mi.../tenants/{tenant}/email-configs/{code}/reconnect
-
GET List Share RulesReturns every rule on this mailbox with isExclusion on each row. Rules with isExclusion false decide which emails colleagues may read when the mailbox.../tenants/{tenant}/email-configs/{code}/share-rules
-
POST Add Share RuleAdds an address, domain, conversation, folder or message rule. With isExclusion false it shares what it matches; with isExclusion true it hides what i.../tenants/{tenant}/email-configs/{code}/share-rules
-
DELETE Delete Share RuleRemoves a rule. A removed share stops its emails being visible to colleagues at once; a removed exclusion makes its emails visible again wherever anot.../tenants/{tenant}/email-configs/{code}/share-rules/{ruleId}