Giter Site home page Giter Site logo

notion-mailer's Introduction

Notion Mailer ๐Ÿ“ฌ

Description

A Notion integration tool to automate and manage email workflows. It allows Notion users to send emails instantly or schedule it for a later date, all within Notion itself.

Prerequisites

  1. A Notion account
  2. A Notion page with the same databases
    You can duplicate this page into your workspace: https://deeply-wire-8e9.notion.site/Notion-Mailer-Template-7b1080e1b60f4b129e0d20536ba97c94
  3. A Notion private integration that has access to your workspace
    Reference: https://developers.notion.com/docs/create-a-notion-integration

How to setup

  1. In root directory, add a .env file containing the following environment variables:
NOTION_SECRET_KEY={your notion integration secret key}
MAILING_CONTACTS_DATABASE_ID={database ID of mailing contacts database}
MAILING_CONTENT_DATABASE_ID={database ID of mailing content database}
EMAIL_PW={email password for the sender email account}
EMAIL_SENDER={sender email address}
EMAIL_PROVIDER={email provider e.g. gmail}
  1. Run npm install to install all dependencies
  2. Run node index.js to start the Node server to poll for Notion database updates
  3. You can also choose to deploy the server on your preferred cloud provider

Future Plans

  • I would be looking into deploying this application and making the Notion integration I created public to turn this project into a SaaS
  • Future integrations with other platforms like TikTok, LinkedIn for scheduling of various posts
  • Write tests

How to contribute

Feel free to open PRs to contribute to this repository! As I am still new to open source development, I would love to get in touch with other developers too!
Alternatively, I am contactable at [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.