A tool to extract structured data from emails using AI.
NoBS.email is a web application that allows users to extract structured data from emails using AI. The application uses a unique email address to receive emails, which are then processed and stored in a database.
- Frontend: Preact + Tailwind/shadcn
- Backend: Astro
- Email Processing: Postmark (inbound and outbound)
- Database: Pocketbase
- Hosting: Coolify
- AI (email data extraction): Gemini Pro Flash2.5 (through OpenRouter)
The system architecture is as follows:
- User sends an email to their unique NoBS.email address (e.g.,
john+ai@nobs.email
). - Postmark receives the email and calls a webhook on the NoBS.email backend.
- The webhook parses the email data, extracts the username and database, and validates the user and database.
- The email data is saved to the database, and the AI is used to extract structured data from the email contents.
- The extracted data is inserted into the relevant collections.
- Email data extraction: AI-powered extraction of structured data from emails.
- Customizable collections: Users can define their own collections to store extracted data.
- Database separation: Users can separate data into different databases using email aliases (e.g.,
john+ai@nobs.email
andjohn+work@nobs.email
).
To set up and install NoBS.email, follow these steps:
- Clone the repository:
git clone https://github.com/janezgec/nobs-email.git
- Install dependencies:
npm install
- Configure Postmark and Pocketbase settings in the
.env
file. - Start the application:
npm run dev