Gmail has security measures in place that can block or bounce emails when they are sent using automated programs like Google Apps Script or third-party add-ons.
When users attempt to send emails through Google Apps Script or add-ons such as Form Director, Fillable Document, Sheet Director, Database Browser and similar tools, Gmail may flag these emails as suspicious and prevent their delivery. This can happen due to various reasons, including email sending limits, spam detection algorithms, or restrictions on third-party applications.
To help you understand why this happens and how to resolve it, we have outlined the key reasons for email blocking and possible solutions below.
NOTE: Our addons use primarily apps script mail services to generate emails
Emails may be blocked or bounced by Gmail for several reasons, including:
Google Suspects Spam or Phishing – If your email resembles spam or a phishing attempt, Gmail's security filters may block it.
Email Content is Too Small – Emails with minimal content, such as a blank message or just a single-word subject, may be flagged as suspicious.
Malicious Attachments – Gmail prevents emails containing harmful files, such as .exe, .bat, .com, or any attachment that might contain malware.
Incorrect Mail Records with Your Domain Registrar – If your domain's email authentication records (SPF, DKIM, and DMARC) are misconfigured or missing, Gmail may block or reject your emails.
To resolve email blocking, first, identify the cause of the issue. Once you understand why Gmail is blocking your emails, follow the steps below to fix the problem permanently.
Ensure your email has sufficient content and does not appear blank or spam-like.
Avoid sending attachments with restricted file types such as .exe, .bat, or .com files.
Check for any potentially harmful links or misleading content that could trigger Gmail’s spam filters.
To overcome Gmail's sending limitations and enhance email deliverability, consider using custom email providers. Services like Amazon SES, Mailgun, SendGrid, and Mailchimp are designed to handle large volumes of emails efficiently. Integrating these providers can help ensure your emails reach their intended recipients without being blocked.
Our product, Form Director offers the capability to integrate with these custom email providers. This feature allows you to route your emails through these services, effectively bypassing Gmail's inherent limitations. By configuring a custom email provider within Form Director, you can send a higher volume of emails and reduce the likelihood of them being marked as spam.
If you are sending emails from a custom domain, your SPF, DKIM, and DMARC records must be correctly configured with your domain registrar. These records help verify your email’s authenticity and prevent it from being flagged as spam.
✅ SPF (Sender Policy Framework) – Specifies which mail servers are authorized to send emails on behalf of your domain. Follow this SPF setup guide to configure it correctly.
✅ DKIM (DomainKeys Identified Mail) – Uses cryptographic signatures to verify that an email has not been tampered with. Follow this DKIM setup guide to set it up.
✅ DMARC (Domain-based Message Authentication, Reporting & Conformance) – Ensures that SPF and DKIM align and provides instructions to email providers on how to handle unauthorized emails. Follow this DMARC setup guide to implement it.
📌 Important Note: If you've recently updated SPF, DKIM, or DMARC records, it may take up to 24 hours for the changes to propagate across DNS servers. If your emails are still being blocked after making these updates, wait for this propagation period to complete.
If you've followed all the steps above and your emails are still bouncing or being blocked:
🔹 Contact Google Workspace Support – They can help determine if Gmail’s security settings are flagging your emails incorrectly.
Since both Gmail and Apps Script (used in add-ons) are Google services, contacting Google Workspace Support can provide insights into why your emails are being blocked.
They are obligated to assist with issues related to their services. Be prepared to engage in screen-sharing sessions to resolve the problem effectively.
🔹 Reach Out to Your Domain Registrar – If your mail authentication records are not propagating properly, your domain provider can assist in verifying and troubleshooting the issue.
Your domain registrar is responsible for assisting with the correct setup of SPF, DKIM, and DMARC records. Identify your registrar (e.g., GoDaddy, Cloudflare, Google Domains) and reach out to their support team. Screen-sharing sessions may be necessary to ensure accurate configuration.
By following these steps, you can ensure that your emails comply with Gmail’s security guidelines and reach their intended recipients successfully. 🚀
Final Note:
Configuring DNS record is quite a challenging task. You need expertise, patience and seek out support from Google and your domain registrar. From Form Director side, we do not have much to do except to educate on what is required to be configured.
Once you have set it up SPF, DKIM, DMARC records successfully, it will be running just fine for the rest of the life of the domain. 😀