This sample will show you to create a Mail Box using the Nylas APIs, JRuby and Shoes 4.
Let's celebrate _why's Day on August 19.
- Java 9.0.4.0.11
- JRuby-9.3.4.0
You'll need the following values:
ACCESS_TOKEN = ""
Add the above values to a new .env
file:
$ touch .env # Then add your env variables
# To read .env files
$ gem install dotenv
# Makes http fun again
$ gem install httparty
# Shoes 4 GUI Toolkit
$ gem install shoes --pre
Run the app using the shoes
command:
$ shoes Shoes_Mail_Client.rb
When successfull, it will display a GUI window showing the first 5 emails from the inbox.
Visit our Nylas Email API documentation to learn more.