1.0.38 • Published 7 years ago

gmail-cli v1.0.38

Weekly downloads
2
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.37

7 years ago

1.0.36

7 years ago

1.0.35

7 years ago

1.0.34

7 years ago

1.0.33

7 years ago

1.0.32

7 years ago

1.0.31

7 years ago

1.0.30

7 years ago

1.0.29

7 years ago

1.0.28

7 years ago

1.0.27

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.24

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

8 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago