How to Collect Files via Email into Google Drive
Learn how to send beautiful HTML emails with upload links that save files directly to your Google Drive. The right way to collect files from email recipients.
The Problem: Collecting Files via Email
You need to collect files from clients, students, or team members. Your first instinct? "I'll just ask them to email the files." But email attachments have problems:
- Size limits — Gmail caps at 25MB, Outlook at 20MB
- Disorganized — Files scattered across inbox threads
- No validation — You get wrong file types, missing info
- Manual work — You have to download and re-upload to Drive
What if you could send an email with a beautiful upload button that sends files directly to your Google Drive?
Can You Embed an Upload Widget in Email?
Short answer: No. And this applies to every file upload tool, not just DriveWidget.
Email clients (Gmail, Outlook, Yahoo, Apple Mail) strip these HTML tags for security:
| Stripped Tag | Reason |
|---|---|
<iframe> | Prevents phishing and tracking |
<script> | No JavaScript execution allowed |
<form> with file input | Can't upload files from email |
<object>, <embed> | No plugin execution |
We tested this ourselves — Gmail strips the iframe on both the sending AND receiving side. The upload widget simply disappears.
The Right Way: Styled Upload Button in Email
The industry-standard approach (used by Dropbox, Google Drive, and every file-sharing tool) is a styled CTA button that opens the upload page in the browser.
Here's what works perfectly in email:
<a href="https://yoursite.com/u/your-upload-page"
style="display:inline-block;
padding:14px 32px;
background:#10b981;
color:white;
text-decoration:none;
border-radius:8px;
font-weight:600;
font-size:16px">
Upload Files to Google Drive
</a>
This renders as a beautiful green button in every email client. When clicked, it opens your DriveWidget upload page in the browser where the full upload experience works perfectly.
Step-by-Step: Email File Collection with DriveWidget
1. Create Your Upload Page
- Sign up at DriveWidget and connect your Google Drive
- Create a widget with form fields (Name, Email, etc.)
- Note your upload page URL:
https://drivewidget.com/u/your-slug
2. Customize for Your Use Case
In the widget settings, you can:
- Set allowed file types (Images only, PDFs only, etc.)
- Set max file size limits
- Add form fields to collect context alongside files
- Enable email notifications when files are uploaded
- Password protect the upload page for private collections
3. Send Beautiful HTML Emails
Here's a complete email template you can use:
<div style="font-family:sans-serif;max-width:500px;margin:0 auto">
<div style="background:linear-gradient(135deg,#3b82f6,#06b6d4);
border-radius:12px;padding:24px;color:white">
<h2 style="margin:0">Please Upload Your Files</h2>
<p style="opacity:0.9">Project: [Client Name]</p>
</div>
<div style="padding:20px">
<p>Hi [Name],</p>
<p>Please upload your files using the secure link below.
Files go directly to our Google Drive.</p>
<div style="text-align:center;margin:24px 0">
<a href="https://drivewidget.com/u/your-slug"
style="display:inline-block;padding:14px 32px;
background:#10b981;color:white;
text-decoration:none;border-radius:8px;
font-weight:600">
Upload Files
</a>
</div>
<p style="color:#6b7280;font-size:13px">
Accepted: PDF, Images, Documents (max 100MB)
</p>
</div>
</div>
4. Bonus: Include a QR Code
For printed materials or mobile-first recipients, DriveWidget generates QR codes for every upload page. You can:
- Go to your widget's Sharing tab
- Click Generate QR Code
- Download the QR code as SVG
- Attach it to your email as an image
Recipients scan the QR code with their phone camera → upload page opens instantly.
Use Cases
Agencies
Send clients a branded upload link for each project. Form fields capture project name and description alongside the files.
HR Teams
Email candidates a resume upload link. Set allowed types to PDF only. Files land in an organized Google Drive folder.
Schools
Email students assignment upload links. Password-protect each one. Set deadlines by deactivating the widget after the due date.
Event Organizers
Include a QR code in event recap emails. Attendees scan and upload their photos directly to your Drive.
Why Not Just Use Google Drive's "Request Files"?
Google killed the "Request Files" feature in 2023. It no longer exists. DriveWidget is the modern replacement:
- No Google login required for uploaders
- Custom branding and form fields
- File type and size validation
- Automatic email notifications
- Webhook integrations (Zapier, Make, n8n)
- Password protection
Try It Free
Create your first upload page in under 2 minutes. No credit card required.
Ready to collect files?
Start using DriveWidget for free. No credit card required.