Short Google Apps script for matching emails by label

Job ID: 33744885

Budget: $30 – $250 USD

Hi. I need a Google Apps scripts function that searches my Gmail account for messages with a specified label that are no older than X minutes.

Matching Messages will:

- cause their label to be changed to another label (so they won't match again when the script runs the next time)
- trigger the invocation of a Webhook
- place their sender address, subject line, and body into an array for potential further processing

Parameters are:

age_limit / Defines the age limit in minutes for emails to be searched
webhook / the URL that get used for invoking the Webhook
match_label // the label to be matched
post_match_label / the label to which matched labels get changed to

Please only bid on this project if you can turn this around in less than 24 hours for $50. Thank you.
Related categories: Google Apps Scripts