Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

How to run

  1. Install the dependencies
gem install sinatra dotenv
  1. Run the project
ruby quickstart-email-ruby.rb
  1. In the Nylas dashboard, create a new application and set the hosted auth callback URL to http://localhost:4567/oauth/exchange

  2. env variables

NYLAS_CLIENT_ID=
NYLAS_API_KEY=
NYLAS_API_URI=https://api.us.nylas.com
EMAIL=<RECIPIENT_EMAIL_ADDRESS_HERE>
  1. Open your browser and go to http://localhost:4567/nylas/auth and log in and end user account

  2. After authenticating an end user account, you can visit the following URLs to get a feel for some of what you can do with the Nylas Email API.

http://localhost:4567/nylas/recent-emails
http://localhost:4567/nylas/send-email

About

Quickstart Email Guide for Ruby

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages