domainwidedelegation.comStart free

Use casesDocuments and Drive

Route inbound CVs into a hiring pipeline folder

Automatically collect candidate CVs from email and place them in a shared Drive folder for the hiring team.

Who it is forRecruiters and HR teams automating candidate intake.
APIsGmail API, Drive API
Typical scopesgmail.readonly, drive

The problem

CVs arrive scattered across inboxes and aliases, easily missed or misfiled. Manual download and upload is slow, error-prone, and risks leaking private data in the wrong folder.

How it works

  1. Monitor the recruitment mailbox using a service account via domain-wide delegation.
  2. Filter for new candidate emails using subject, sender, or attachment type.
  3. Extract CV attachments and upload each to the correct Drive folder.
  4. Set Drive permissions so the hiring panel can access but not edit originals.

What changes

Every candidate CV lands in the right pipeline folder, ready for review, without manual handling or mailbox sifting.

The trap in this one. Gmail API's message 'labelIds' can lag behind attachment processing—if you archive or label before extracting, the attachment may not be retrievable on the next run. Always download attachments before changing labels, or you'll see intermittent missing files with no error from the API.

Questions people ask

Can I process multiple attachments in a single message?

Yes, but filenames can clash. Always rename or namespace attachments before Drive upload to avoid overwrites.

How do I avoid duplicates?

Track the Gmail message ID and Drive file ID together. Reprocessing can otherwise create silent duplicates if the workflow 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 guide

Related use cases

Automate migration of user Drive and mail with domain delegation

Bulk-migrate Drive files and Gmail messages between accounts or domains without user involvement, handling real-world volume and edge cases.

Send access alerts for sensitive Drive files in context

Alert the right people when a sensitive file is accessed, including file details and triggering context, using a delegated service account.

Notify the owner when a document is untouched for 90 days

Alert document owners before files are forgotten by tracking Drive activity and sending targeted notifications when a document hasn't been opened in 90 days.