How to get your Drupal webform submissions directly to your GSuite inbox?

Melanie Graham
3 min readOct 21, 2022

--

After you have downloaded and installed the SMTP module following these directions. Or learn how to download and install modules.

1. Make the following changes within your Gsuite admin console — (admin.google.com)

1.1 Enable Inbound gateway

Within the GSuite admin console go here:

Apps -> Google Workspace -> Settings for Gmail -> Spam, phishing, and malware

Enable Inbound gateway, add your servers (host) unique IP address, and modify the following settings.

1.2 Generate a DKIM Key

Next, go here to generate the DKIM Key require in steps 2.3 below:

Apps > Google workspace> Gmail > Authenticate email > generate new record

Generate a new DKIM record and keep this handy.

2. Add the following DNS Records to your Server

Within your servers DNS management settings add the following records…

2.1) Add an SPF TXT Record

Type: TXT 
Name/Host: @ or domain name or leave it blank
TTL: default or 3600
Value: v=spf1 include:_spf.google.com include:spfa.mailendo.com ~all

2.2) Add a DMARC TXT record

Type: TXT 
Name/Host: _dmarc
TTL: default or 3600
Value: v=DMARC1; p=none; rua=mailto:dmarc-reports@graham.agency

2.3) Add DKIM Record

Use the key number you generated from steps 1.2) Generate a DKIM Key above.

Create the following TXT Record with this key:

Type: TXT 
Name/Host: google._domainkey
TTL: default or 3600
Value: v=DKIM1; k=rsa; p=[paste-key-value-from-gsuite-console-here]

Note: Adding or modifying DNS records can take 24hrs to 72hrs to take propagate (become active).

3. Start the DKIM Key Authentication within your GSuite Admin Console — (admin.google.com)

Once the records have become propagated (configured) on your host site, you need to “Start Authentication”. Go here within your gsuite admin console:

Apps > Google workspace> Gmail > Authenticate email > Here you will find an option “Start Authentication”.

Once the Authentication is started and completed, you should be able to see “Stop Authentication”, which means you are done with all the DKIM record formalities.

Enable IMAP within Gmail

Within your Gmail dashboard, go to settings.

Under Forwarding and POP/IMAP3 enable IMAP

Enable IMAP

3. Allow users to send mail through an external SMTP server through the Admin Console

  1. From the Admin console Home page, go to Apps Google Workspace Gmail. End User Access. …
  2. In the Allow per-user outbound gateways section, select Allow users to send mail through an external SMTP server when configuring a “from” address hosted outside your email domains. …
  3. At the bottom, click Save.

Visit GrahamAgency to learn more.

Instagram | Linkedin | Facebook

--

--

Melanie Graham
Melanie Graham

No responses yet