Use cases → Email operations
Send onboarding welcome emails to new users at scale
Blast a tailored onboarding email to every new user as their account is created, using a delegated service account to send from HR or IT.
| Who it is for | IT or HR teams responsible for onboarding large cohorts of new users. |
|---|---|
| APIs | Gmail API, Admin SDK |
| Typical scopes | gmail.send, admin.directory.user.readonly |
The problem
Manual welcome emails are error-prone and easily missed, especially during bulk hiring or reorgs. Relying on end users to check onboarding docs results in inconsistent first-day experiences.
How it works
- Watch for new accounts by polling the Admin SDK for recently created users.
- For each new user, use the service account with domain-wide delegation to impersonate a sender (e.g. hr@ or it@) and send a templated welcome email via the Gmail API.
- Log sent emails and any errors for audit and follow-up.
- Throttle requests to avoid Gmail API send limits and avoid being flagged for spam.
What changes
Every new user receives a consistent, timely onboarding email from a trusted internal sender, with delivery tracked centrally.
Questions people ask
Can I send from each user's own account?
Technically yes, but users will see the sent message in their own Sent folder, which may be confusing. It's more common to send from a central HR or IT address.
How do I avoid sending duplicates?
Track the last processed user creation timestamp or user ID, and always log sent emails with a unique reference. Idempotency is critical if your process restarts.
Want this built?
This is a pattern we run in production. We will set up the delegation and build this on top of it — $500 per hour, most of it working the same day.
Talk to us Or read the setup guideRelated use cases
Manage domain-wide email allow and block lists centrally
Set, update, and audit email whitelist and blacklist rules across all users from one place, avoiding manual filter drift and inconsistent enforcement.
Automate signature updates for every user in Workspace
Apply a standard email signature across all mailboxes using a delegated service account and track which users have been updated.
Enforce standardised email footers domain-wide
Ensure every outbound message includes a compliant footer by injecting or replacing signatures at send-time across all users.