Giter Club home page Giter Club logo

email-alerts-whatsapp's Introduction

email-alerts-whatsapp

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

image

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:

image

in the environment variables tab, enter your email and password

image

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

Thats it! the email aert feature is enabled

##Email whatsapp alert in action:

WhatsApp Image 2023-01-13 at 22 51 16

Sending 'unseen' word fetches us our last 8 unseen messages of the day:

2

sending help gives us the keywords that can be used in order to fetch us our emails

3

email-alerts-whatsapp's People

Contributors

vipiins avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.