Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelfromorg/jensen
Your personal product manager.
https://github.com/michaelfromorg/jensen
email google-apps-script jensen notion
Last synced: about 1 month ago
JSON representation
Your personal product manager.
- Host: GitHub
- URL: https://github.com/michaelfromorg/jensen
- Owner: michaelfromorg
- License: mit
- Created: 2024-11-22T01:27:33.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-22T08:08:53.000Z (about 1 month ago)
- Last Synced: 2024-11-28T05:05:51.507Z (about 1 month ago)
- Topics: email, google-apps-script, jensen, notion
- Language: JavaScript
- Homepage: https://assistant-xi-azure.vercel.app
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jensen
Your personal product managers. AI driven task triage and management.
Built originally for the "World's Shortest Hackathon."
## About
Here's how it works.
1. The client is a Google Apps Script project (using [clasp](https://github.com/google/clasp)) that has the ability to comb through your e-mails
2. It checks for any e-mails sent to `[email protected]"`
3. It forwards the thread to an endpoint `/process-email`, which will
a. Read your Notion database schema
b. Prompt an LLM to fill out the database schema as best it can, based on the e-mail thread
c. Insert a new entry to your task database
4. Save that e-mail thread as being handled## Usage
To get started with development, first run `bash scripts/setup.sh`.
Create a `.env` file in `server` with the following values.
```plaintext
NOTION_API_KEY="ntn_asdf"
NOTION_DATABASE_ID="some-uuid-value-from-your-database-view"OPENAI_API_KEY="sk-proj-qwerty"
```Run the server with `npm run dev`.
To use the client code, set up a Google Apps Script project via Google Drive. Then, follow the steps [here](https://github.com/google/clasp/blob/master/docs/run.md#setup-instructions).