小苹果 is a self-hosted email management tool that uses Flask, PostgreSQL, and Microsoft Graph API to read emails, with server-side encrypted credential storage and a security-focused architecture.

Stars

58

7-day growth

No data

Forks

38

Open issues

0

License

GPL-3.0

Last updated

2026-07-27

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It encrypts email passwords and OAuth refresh tokens using Fernet, never exposing them to the browser, and enforces a secure deployment pattern with Caddy reverse proxy, loopback Gunicorn, and strict cookie/CSRF protections.

Who it is for

  • Developers needing to manage multiple email accounts programmatically
  • System administrators who self-host infrastructure
  • Small teams requiring a secure internal email reading service
  • Users who want to extract verification codes or monitor specific sender domains

Use cases

  • Batch importing, updating, and exporting email accounts
  • Automatically extracting verification codes from incoming emails
  • Detecting binding emails from OpenAI domains
  • Self-hosted alternative to third-party email management services

Strengths

  • Strong security: credentials encrypted at rest, never stored in browser, CSRF and rate limiting enforced
  • Clear production deployment guide with Caddy, systemd, and separated user privileges
  • Comprehensive test suite including PostgreSQL integration tests and dependency auditing
  • Open source under GPL-3.0-only, enabling full control and customization

Considerations

  • Only supports Microsoft Graph API (no IMAP/POP3 support)
  • Requires specific dependencies: Python 3.12/3.13, PostgreSQL 17, and Caddy as reverse proxy
  • Encryption key loss makes stored credentials irrecoverable; backup management is critical

README quick start

快速开始

Description

小苹果邮箱助手:安全的 Flask、PostgreSQL 与 Microsoft Graph 自托管邮箱管理工具

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482