6
Auto Forward Gmail Messages with Google Scripts You can auto-forward your Gmail messages to one or more email addresses. The forwarded email messages include the original sender's email address, the date when that message was received and all the original attachments and inline images. The program is written in Google Apps Script and includes support for email aliases and Gmail templates. Step 1 - Copy the Google Sheet Open the link in the mail to create a copy of the Google Sheet in your own Google Drive. How to Auto-Forward Gmail Message How to Auto-Forward Gmail Message Page 1

Gmail Auto-Forward with Google Scripts

Embed Size (px)

DESCRIPTION

Use Google Script to auto-forward Gmail messages to another address. You can even forward your old Gmail emails to any other address. Link: http://www.labnol.org/?p=20665

Citation preview

Page 1: Gmail Auto-Forward with Google Scripts

Auto Forward Gmail Messages with Google ScriptsYou can auto-forward your Gmail messages to one or more email addresses. The forwarded emailmessages include the original sender's email address, the date when that message was receivedand all the original attachments and inline images.

The program is written in Google Apps Script and includes support for email aliases and Gmailtemplates.

Step 1 - Copy the Google SheetOpen the link in the mail to create a copy of the Google Sheet in your own Google Drive.

How to Auto-Forward Gmail Message

How to Auto-Forward Gmail Message Page 1

Page 2: Gmail Auto-Forward with Google Scripts

Step 2 - Fill the SheetEnter the Gmail Labels in column A and the corresponding auto-forward email addresses in columnB. For instance, if you would like all emails labeled "Family" in Gmail to go to an email address"[email protected]", put Family in column A and the email address in column B. You may addupto 10 labels in the sheet.

How to Auto-Forward Gmail Message

How to Auto-Forward Gmail Message Page 2

Page 3: Gmail Auto-Forward with Google Scripts

Step 3 - InitializeClick the "Gmail Forward" menu and click "Initialize" menu to authorize the sheet.

How to Auto-Forward Gmail Message

How to Auto-Forward Gmail Message Page 3

Page 4: Gmail Auto-Forward with Google Scripts

Step 4 - Authorization RequiredClick OK at the Authorization Required dialog.

How to Auto-Forward Gmail Message

How to Auto-Forward Gmail Message Page 4

Page 5: Gmail Auto-Forward with Google Scripts

Step 5 - Grant PermissionsThe next screen will require you to grant access to your Drive to the script. It needs permissions toread your mails and forward them to another email address. Click Accept.

How to Auto-Forward Gmail Message

How to Auto-Forward Gmail Message Page 5

Page 6: Gmail Auto-Forward with Google Scripts

Step 6 - Start the ProgramGo to the Gmail Forward menu again and click "Start Auto-Forward" to start the auto-forwardprocess. The script will now run in the background and auto-forward emails in the labels listed incolumn A. You may close this sheet now.

SupportThe forwarded email messages include the original sender's email address, the date when thatmessage was received, the message body, all the original attachments and inline images.

For support and help, please send an email at [email protected]

• Script: Auto-Forward Gmail Messages• Twitter: http://twitter.com/labnol• Developer: Amit Agarwal

How to Auto-Forward Gmail Message

How to Auto-Forward Gmail Message Page 6