The Homework Genie: Just Email It!

The Homework Genie: Just Email It!

Publish Date: Jun 9
1 0

This is a submission for the Postmark Challenge: Inbox Innovators.

What I Built

I built a "Homework Helper Bot" that transforms email into a powerful AI assistant. It receives math questions via Postmark email, processes them with a local AI (Ollama), generates a detailed PDF solution, and instantly emails it back to the sender, all powered by Postmark.

Demo

Code Repository

Github link: https://github.com/catcodey/postmark-hackathon
postmark url: 57b64f01309581e8ec5ba1bff617115c@inbound.postmarkapp.com

How I Built It

My bot is built with Python, using Flask for webhook handling. It leverages Postmark for both Inbound Email (receiving questions) and Outbound Email (sending PDF solutions), showcasing Postmark's robust APIs.

For AI processing, I integrated Ollama to run a local Large Language Model (phi3:mini), keeping intelligence on my machine. fpdf2 was used for PDF generation, which involved overcoming challenges like Unicode font support and precise text layout within the PDF. The postmarker Python library facilitated reliable outbound email with attachments. ngrok was essential for exposing my local server to Postmark's webhooks.

My experience with Postmark was very positive; its webhook and API functionalities are incredibly effective for building innovative email-driven applications.

Video Link: https://drive.google.com/file/d/1Inh4eR3AkEDREVywIXi4_5fTS-zZN-wM/view?usp=sharing

User name :bhavna_b_baa952ae51dac930 (BBCoder)
Email : bhavna18182003@gmail.com

Comments 0 total

    Add comment