-
Make sure there is a mongodb instance running locally.
-
First export the environment variables.
export CLIENT_ID=your-client-id
export CLIENT_SECRET=your-client-secret
export DOMAIN_URL=your-domain-url
export TWILIO_ACCOUNT_SID=your-twilio-account-sid
export TWILIO_AUTH_TOKEN=your-twilio-auth-token
export TWILIO_PHONE_NUMBER=your-twilio-phone-number
export CELLPHONE=your-cell-phone
- Then install the dependencies.
npm install
- Run the app.
npm start
- List labels
npm run list-labels
- Edit the check-inbox.js file adding the label id and then run:
npm run check-inbox