This repository contains the code that is used to fetch emails from Gmail and sendin them to the user's Whatsapp number Using the Twilio environment
#Setup Create an twilio account (free) Connect your Whatsapp number to Your Twilio sandbox in the console section of th e twilio, go into Messaging > Try it out > Send a Whatsapp message
Follow the instructions to connect your whatsapp number to the twilio
#Functions Navigate to the functions ans assets tab in the left side In the services section create a new service Create an function of your desired name, I named mine: path_1 which was a default name enter the code in the repository in the function created
Be sure to add the dependencies in the Settings section below environment variables:
in the environment variables tab, enter your email and password
Enter deploy all! wait for deployment after the function is deployed, click the COPY URL button below the code editor
Navigate to Settings > Whatsapp sandbox settings > Sandbox configuration Now enter the Copied URL into the 'WHEN A MESSAGE COMES IN' input box and enter save
##Email whatsapp alert in action: