1.0.38 • Published 6 years ago

gmail-cli v1.0.38

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

gmail-cli NPM version Build Status Dependency Status Coverage percentage

cli for gmail

Installation

$ npm install -g gmail-cli

Usage

gmail-cli

Setup

Requires a client_id, client_secret, and redirect_uris.

client_id and secret can be obtained for Google's Gmail API here: https://console.developers.google.com/start/api?id=gmail

Walk-through

These are the steps to get programmatic access to the Gmail API.

Start here https://console.developers.google.com/start/api?id=gmail

Step 1

step-1

Click continue.

Step 2

step-2

Click go to credentials.

Step 3

step-3

Select user data.

Step 4

step-4

Add http://localhost:3000 to authorized origins. Add http://localhost:3000/callback to authorized callbacks.

Step 5

step-5

Download credentials.

They should look like:

{
  "web": {
    "client_id": "1234567891011-abcdefghijklmnopqrstuvwxyz.apps.googleusercontent.com",
    "project_id": "amiable-dynamo-1234567",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://accounts.google.com/o/oauth2/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_secret": "s6jqlmn72hyq82hbcvaa2",
    "redirect_uris": ["http://localhost:3000/callback"],
    "javascript_origins": ["http://localhost:3000"]
  }
}

License

MIT © Ben

1.0.38

6 years ago

1.0.37

6 years ago

1.0.36

6 years ago

1.0.35

6 years ago

1.0.34

6 years ago

1.0.33

6 years ago

1.0.32

6 years ago

1.0.31

6 years ago

1.0.30

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.27

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago