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:
1RLO6DQp-TxusEc0CAuzQcuCYYK65BmWE95bcQt5Bv3_RqK0B1xCWcHPv
5, Add the following scripts:
function watch(){
CheckGmail('is:unread label:"Mail Label"', "id", "New Message!")
}
5, Add trigger for checking regularly.