https://github.com/jdan/notion-mailboxes
What if notion blocks had email?
https://github.com/jdan/notion-mailboxes
Last synced: about 1 year ago
JSON representation
What if notion blocks had email?
- Host: GitHub
- URL: https://github.com/jdan/notion-mailboxes
- Owner: jdan
- Created: 2021-10-23T16:19:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-24T12:19:22.000Z (over 4 years ago)
- Last Synced: 2025-03-29T05:12:22.307Z (about 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## notion-mailboxes
What if notion blocks had email?

### usage
- [Create a new Notion integration](https://developers.notion.com/docs/getting-started#step-1-create-an-integration)
- Create a new page and note it's ID from the address bar
- `https://www.notion.so/[username]/Title-text-[your page ID, copy this!]`
- [Share the page with your new integration](https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration)
- Run the script
```sh
git clone https://github.com/jdan/notion-mailboxes.git
cd notion-mailboxes
npm i
NOTION_SECRET=[your token here] NOTION_PAGE_ID=[your id here] node main.js
# watch it do its thing
```
### frontend
A small frontend exists so you can place a "Process" button in an embed block
and click it.
Run it locally with `NOTION_SECRET=... NOTION_PAGE=... vercel dev`. You'll need to deploy it
if you want to use an embed, though (can't embed localhost)
