Skip to content
View Abhiarya995's full-sized avatar
  • N/A
  • Flat7 Jeffery House , 450 London Road

Block or report Abhiarya995

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Abhiarya995/README.md
  • 👋 Hi, I’m @Abhiarya995
  • 👀 I’m interested in ...
  • 🌱 I’m currently learning ...
  • 💞️ I’m looking to collaborate on ...
  • 📫 How to reach me ... // First install the nylas-sdk package: npm i nylas const Nylas = require("nylas"); const Draft = require("nylas/lib/models/draft.js"); const apiServer = "https://api.nylas.com"; const clientId = "a94u9klvmi8rb4h3o0ldc2h52"; const clientSecret = "bhjtugkk3cu9o9gbbdu1ta661"; const accessToken = "9MmYhHF9Sa3eiVuJF2ZXqkdMmLzpqQ";

Nylas.config({ apiServer, clientId, clientSecret });

const nylas = Nylas.with(accessToken);

// Create a draft email const draft = new Draft.default(nylas, { subject: "With Love, from Nylas", body: "This email was sent using the Nylas email API. Visit https://nylas.com for details.", to: [{ name: "Nylas", email: "haddikarya@gmail.com" }], });

// Send the email draft.send() .then((message) => { console.log(Message "${message.subject}" was sent with ID ${message.id}); }) .catch((err) => { console.error("Error:\n", err); })

Popular repositories Loading

  1. swift-evolution swift-evolution Public

    Forked from swiftlang/swift-evolution

    This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.

    Markdown

  2. Abhiarya995 Abhiarya995 Public

    Config files for my GitHub profile.

  3. content content Public

    Forked from mdn/content

    The content behind MDN Web Docs

    Markdown

  4. Jk Jk Public

    websitedevelopment