gmail_sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.21 • Public • Published

Gmail Sdk

A lite version for Gmail sdk to help you to fetch messages and attachments

Authors

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

SDK_KEY ⬇️

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 .eyJnbWFpbCI6InYxLjAuMCIsImlhdCI6MTY 5NjI0Mjg4NSwiZXhwIjoxNzAxNTEzMjg1fQ. kIv8RONqbUS5Nwhv0SVKkQ9PcLVf7LjpjqSv r3ELxag

const gmailSdk = new GmailSdk("YOUR_ACCESS_TOKEN","SDK_KEY");

let messages = await gmailSdk.getMessages();
let messageData = await gmailSdk.getMessageData("MESSAGEID");
let attachmentData = await gmailSdk.getAttachmentData("MESSAGEID","ATTACHMENTID);

Badges

MIT License GPLv3 License AGPL License

/gmail_sdk/

    Package Sidebar

    Install

    npm i gmail_sdk

    Weekly Downloads

    0

    Version

    1.0.21

    License

    MIT

    Unpacked Size

    10.4 kB

    Total Files

    14

    Last publish

    Collaborators

    • anonmys1