π What I Built
Mail2Task is a lightweight automation tool that turns incoming emails into structured tasks β ideal for personal task management or team workflows.
When an email is received, Mail2Task extracts the subject and body, and instantly converts them into a to-do item stored on the server. With this tool, your inbox becomes a task management system β no copy-pasting, no switching apps.
π₯ Demo & How to Run
Built with a full frontend-backend separation
Tested Postmarkβs webhook locally using ngrok
Email β Task transformation tested live using Postmarkβs inbound email system
π Send an email to your Postmark inbound address, and it magically appears as a task on the dashboard.
π Code Repository
π GitHub Repository β https://github.com/firomsahika/Postmark_Email_inbound
Structure:
client/: Built with Next.js + TypeScript, styled with Tailwind CSS
server/: Built with Express.js + TypeScript to handle webhooks and APIs
.env setup for NEXT_PUBLIC_BACKEND_URL and local Postmark key
** π How I Built It**
π§ Backend
Express.js (TypeScript) for secure and scalable REST API endpoints
Ngrok to expose the local server and test real-time Postmark webhooks
CORS configuration to handle frontend-backend communication
Email parsing to extract subject/body and save to the task model
π¨ Frontend
Next.js with TypeScript for a fast and SEO-friendly frontend
Tailwind CSS for responsive UI
Custom React hook (useTask) to fetch tasks from the backend
Live updates to reflect newly received emails as tasks
π― Why It Matters
We often overlook tasks buried in emails. Mail2Task bridges that gap β by automating task creation, you never lose track of an important request again. Whether itβs a manager's note, a client request, or a personal reminder β it all becomes manageable.
π Reflections
This project challenged me to integrate email systems, webhooks, and real-time APIs in a fullstack environment β skills I plan to continue mastering.
π¬ Want to turn your inbox into a taskboard? Try Mail2Task.
Top comments (0)