Difference between revisions of "Create Google Tasks by sending email to Google GMail"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | Follow this step-by-step of this page | + | Goal: |
+ | * Send email to a specified address - in the case Gmail address named yourgmail+task@gmail.com. | ||
+ | * Script will parse that email based on Gmail label, and grab the email's subject then create a new task. | ||
+ | |||
+ | Follow this step-by-step of this page. | ||
http://www.pipetree.com/qmacro/blog/2011/10/automated-email-to-task-mechanism-with-google-apps-script/ | http://www.pipetree.com/qmacro/blog/2011/10/automated-email-to-task-mechanism-with-google-apps-script/ | ||
− | - | + | # Create Gmail new labels - newtask and newtaskdone. |
− | + | # Create a filter based on newtask label. | |
+ | # Create script from Google Spreadsheet. | ||
+ | # Integrate the script with Google API. | ||
+ | # Schedule it via the time-driven even trigger. | ||
Pay attention to the Script Code section especially if this is your first time coding this. You will have to enable Google API service to allow access the Task API - https://developers.google.com/apps-script/articles/google_apis_reading_list. If not doing so, you will receive an error message saying "Tasks - not defined". | Pay attention to the Script Code section especially if this is your first time coding this. You will have to enable Google API service to allow access the Task API - https://developers.google.com/apps-script/articles/google_apis_reading_list. If not doing so, you will receive an error message saying "Tasks - not defined". |
Revision as of 06:06, 10 August 2012
Goal:
- Send email to a specified address - in the case Gmail address named yourgmail+task@gmail.com.
- Script will parse that email based on Gmail label, and grab the email's subject then create a new task.
Follow this step-by-step of this page. http://www.pipetree.com/qmacro/blog/2011/10/automated-email-to-task-mechanism-with-google-apps-script/
- Create Gmail new labels - newtask and newtaskdone.
- Create a filter based on newtask label.
- Create script from Google Spreadsheet.
- Integrate the script with Google API.
- Schedule it via the time-driven even trigger.
Pay attention to the Script Code section especially if this is your first time coding this. You will have to enable Google API service to allow access the Task API - https://developers.google.com/apps-script/articles/google_apis_reading_list. If not doing so, you will receive an error message saying "Tasks - not defined".
In addition to above sample, I'd like to add