Monitor Gmail inbox by Apps Script

Monitor Gmail inbox by Apps Script and send an alert to Line

1, Scan the QR code and follow it.

2, Send a text message ‘id’ to get your line account user id.

3, Create a project at Apps Script

4, Add the below Script Id to Libraries:


5, Add the following scripts:

function watch(){
    CheckGmail('is:unread label:"Mail Label"', "id", "New Message!")

5, Add trigger for checking regularly.

13 thoughts on “Monitor Gmail inbox by Apps Script

  1. Scott Miller

    Hey there! Someone in my Myspace group shared
    this website with us so I came to give it a look.

    I’m definitely loving the information. I’m book-marking and will be tweeting this to my followers!

    Great blog and excellent design and style.


Leave a Reply

Your email address will not be published. Required fields are marked *