I need the script called when gmail get in.
The script acts as the trigger to call HTTP request with gmail message content when the message get in.
HTTP request will be issued every time gmail get in.
no need to worry about inserting into db.
you can only issue http request with msg data.