NOW WITH AI POWERS 
BeepMate Logo

Forward Gmail Emails to WhatsApp Automatically

Redirect the emails received in your Gmail account to your WhatsApp account or group. You can get WhatsApp messages every time that you receive an important email. It uses Google Apps Script - running entirely in your own Google Cloud - so BeepMate never has access to your Gmail account.

This automation uses a scheduler to check for emails every 15 minutes based on your criteria, and send you a WhatsApp notification.

Note: an API key is required to use this feature. To get an API key type the API command in the BeepMate WhatsApp bot.
Google Script Permissions: You will give permission to your own google account to check your emails in Gmail. This solution is based on a Google Apps Script that will run on your own Google Cloud. That means that the script is running in your own account so BeepMate has no access into your Gmail or other google services. All the permissions that the Google Script will ask you are for yourself and based on your own account. You will have a copy of the script and you will own it (you are the developer)
1

Open BeepMate's Google Sheet

Open this Google Sheet

If you are logged in to more than one Google account, make sure you are on the correct account.

Open BeepMate's Google Sheet
2

Make a copy of the Google Sheet

Click FileMake a copy

It will copy the sheet and script into your Google Sheets Account.

Make a copy of the Google Sheet
3

Copy the Google Sheet to your own Google Drive

Leave the Name and Folder location as is, or change it to whatever you want so it will fit best in your Google Drive.

Confirm by clicking Make a Copy

This means that you become the owner of the sheet and the script that runs behind it. BeepMate does not have access to your Gmail account.
Copy the Google Sheet to your own Google Drive
4

Fill the form inside the Google Sheet

In the sheet form, fill your WhatsApp number and your API key.

  • WhatsApp Number: Your phone number without the + sign
  • BeepMate API Key: Get your API key by typing the API command in BeepMate's WhatsApp chat
  • is:Unread: Script will process only unread messages, if you red a message prior to the script scheduler then you will not be notified
  • is:InPriorityInbox: Only notify for messages that arrive to your Priority Inbox
  • Additional Criteria: Using Gmail search criteria as defined here.
    For example:
    from:myboss@company.com subject:alert
If you leave Additional Criteria empty, then all emails will be processed. If you wish to further fine-tune the notifications set the required criteria in that field.
Note: If you wish to receive notifications on WhatsApp group instead on your personal WhatsApp, fill the Group ID in the WhatsApp Number field.
Fill the form inside the Google Sheet
5

Start the email monitoring script

Through the menu you can start the monitor script. When running, it will process all new emails for the last 15 minutes.

The script will run in your own Google Cloud.

Click WhatsApp to EmailStart email monitoring

If you don't see the menu WhatsApp to Email just refresh the page.
Start the email monitoring script
The next steps are only required once - on the first time you start the script. It will provide the required permissions for the script to run on your Gmail account.
6

Authorize the script

Starting the script on the first time requires authorization. Click OK.

Authorize the script
7

Choose your Gmail account

Select your Google Account. This is the account that will run the script and should be the same as the account that you want to monitor.

If you are logged in to more than one Google account, make sure you are on the correct account.
Choose your Gmail account
8

Show advanced information

You are giving your own Google account access to your own Gmail. Click Advanced to contiue.

As you created a copy of the sheet and the script you become the owner of the script. So your email address is the developer of the script, and its executor.
Show advanced information
9

Skip the warning

Click Go to Email to WhatsApp Script to allow access to yourself. You trust yourself.

Skip the warning
10

Allow the Permissions

Allow yourself to get access to your Gmail account to get and monitor the emails from the Script. Click Allow.

Allow the persmissions
11

Restart the script

After you authorized the script to run you need to start the service again. Click WhatsApp to EmailStart email monitoring.

Restart the script
12

That's it!

You can see in the debug box that the script is running.

That's it!