Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

nylas-samples/Shoes-Mail-Client

Repository files navigation

Shoes-Mail-Client

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.

Setup

System dependencies

  • Java 9.0.4.0.11
  • JRuby-9.3.4.0

Gather environment variables

You'll need the following values:

ACCESS_TOKEN = ""

Add the above values to a new .env file:

$ touch .env # Then add your env variables

Install dependencies

# To read .env files
$ gem install dotenv

# Makes http fun again
$ gem install httparty

# Shoes 4 GUI Toolkit
$ gem install shoes --pre

Usage

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.

Read the blog post

_why day 2022

Learn more

Visit our Nylas Email API documentation to learn more.

About

Create a mail box using the Nylas APIs, JRuby and Shoes 4

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages