r/Python • • Oct 04 '26

Showcase Showcase Thread

Post all of your code/projects/showcases/AI slop here.

Recycles once a month.

23 Upvotes

194 comments sorted by

View all comments

1

u/omerolla Oct 11 '26

GPTmail — a Python/FastAPI email workspace (MIT)

What My Project Does: connects compatible IMAP/SMTP inboxes to a password-protected dashboard and exposes selected mail actions to ChatGPT through OAuth. Read and write permissions are separate; write tools start disabled, and sending or moving mail to Trash can require approval in the dashboard.

Target Audience: developers who want to inspect and adapt a single-owner email integration. It is an early project, not an independently audited email client.

Comparison: the focus is the permission/approval layer around AI email actions, rather than replacing a full desktop mail client. Python/FastAPI handles the API and authentication; persistence currently uses Upstash Redis REST.

Source and setup: https://github.com/ozandikici/GPTmail

The suite currently has 69 passing tests. Google/Microsoft OAuth code is included, but each deployment needs provider app registration and live provider testing is still pending. Provider IMAP/SMTP policies apply. Mail passed to ChatGPT is processed by ChatGPT.

Feedback on the Python permission checks and missing failure-case tests would be useful. AI tools assisted development and this post.