Google Workspace

Restrict how your agents can use Google Workspace.

Require agents to confirm every change, or let them forward mail only to the addresses you pick.

Google WorkspaceMail setup agent · acme.comkc_…w5p2
PermissionAccessMailboxesOnly when
Domain aliases · Create
domainAliases.create
AllowedWhole Workspace
body.domainAliasName = northpier.io
Domain verification · Verify
verification.verify
Ask meWaits up to 24 hoursWhole WorkspaceAny request
Forwarding addresses · Create
forwarding.create
Allowed[email protected]
Recipient is one of [email protected]
Forwarding addresses · Create
forwarding.create
Ask meWaits up to 24 hoursAll mailboxesAny request
Auto-forwarding · Change
autoForwarding.update
Allowed[email protected]
Recipient is one of [email protected]
Send-as addresses · Create
sendAs.create
Ask meWaits up to 24 hours[email protected]Any request
Allowed goes straight throughAsk me waits for your confirmation
What you can control

Permissions

Each row of a key's Google Workspace access is one of these, set to Allowed or Ask me.

PermissionName in the API
Domains · Readdomains.read
Domains · Createdomains.create
Domains · Deletedomains.delete
Domain aliases · ReaddomainAliases.read
Domain aliases · CreatedomainAliases.create
Domain aliases · DeletedomainAliases.delete
Users · Readusers.read
Domain verification · Get tokenverification.token
Domain verification · Verifyverification.verify
Domain verification · Readverification.read
Domain verification · Deleteverification.delete
User aliases · ReaduserAliases.read
User aliases · CreateuserAliases.create
User aliases · DeleteuserAliases.delete
Send-as addresses · ReadsendAs.read
Send-as addresses · CreatesendAs.create
Send-as addresses · ChangesendAs.update
Send-as addresses · VerifysendAs.verify
Send-as addresses · DeletesendAs.delete
Forwarding addresses · Readforwarding.read
Forwarding addresses · Createforwarding.create
Forwarding addresses · Deleteforwarding.delete
Auto-forwarding · ReadautoForwarding.read
Auto-forwarding · ChangeautoForwarding.update
Filters · Readfilters.read
Filters · Createfilters.create
Filters · Deletefilters.delete
Vacation responder · Readvacation.read
Vacation responder · Changevacation.update
IMAP · Readimap.read
IMAP · Changeimap.update
POP · Readpop.read
POP · Changepop.update
Language · Readlanguage.read
Language · Changelanguage.update
Delegates · Readdelegates.read
Delegates · Createdelegates.create
Delegates · Deletedelegates.delete
Custom rule: a method and a path that you choose.
KeyContain connects with a service account key that has domain-wide delegation, and acts as the super admin whose email you enter.
Your agent adds the DNS records for domain verification and DKIM through a DNS service on the same key, such as Cloudflare.
You generate the DKIM key in the Google Admin console. A personal Gmail account adds a send-as address in its own Gmail settings, with steps from your agent.

Give your agents Google Workspace keys that fit.