/GMail-Regex-Reply

Use gmail's pubsub and gmail api to send messages , without attachments, to others based on emails found in the body of a recieved emails. Useful when getting confirmation messages from verified senders that contain emails.

Primary LanguageJavaScriptMozilla Public License 2.0MPL-2.0

Gmail Regex-Reply

basic code from https://developers.google.com/gmail/api/quickstart/nodejs and https://cloud.google.com/docs/authentication/getting-started#windows
Program uses Gmail's push notifications to reply to email addresses found within a mail body using a configured regex pattern.

Setup

npm install
node index.js
Following this read up on https://developers.google.com/gmail/api/guides paticularly the quickstart.
Also read up on https://cloud.google.com/docs/authentication/getting-started.
This is not a verified app so setup is more complicated than simply setting the config files.