Hame Mail - Temporary Email Management

A secure temporary email service built with Next.js, Prisma, and Mailgun that allows users to create custom email addresses and receive emails in real-time.

Stack:
TypeScriptNext.jsReact.jsTailwindCSS
Hame Mail - Temporary Email Management

Hame Mail

A secure temporary email service built with Next.js, Prisma, and Mailgun that allows users to create custom email addresses and receive emails in real-time.

New Feature: Guest Email (No Login Required!)

Try temporary email without registration! Visit the landing page and click "Generate Email" to instantly create a disposable email address. Perfect for quick signups, testing, or one-time use.

  • Instant Email Generation - No registration needed
  • 1-hour Validity - Temporary emails expire after 1 hour
  • Real-time Inbox - Auto-polling for new messages
  • Secure - Cookie-based session with HTTP-only security
  • Auto Cleanup - Unused emails are automatically removed

Features

For Everyone (No Login)

  • Guest Mode - Generate temporary emails instantly without registration
  • Real-time Updates - Messages appear automatically (5-second polling)
  • Copy & Share - Easy one-click copy to clipboard
  • Session Timer - Visual countdown showing time remaining

For Registered Users

  • User Authentication - Register and login with username/password (no email required)
  • Custom Email Addresses - Create temporary emails like
  • Semi-Persistent Storage - Emails and inboxes are saved to your account
  • Real-time Delivery - Receive emails instantly via Mailgun webhooks
  • Responsive UI - Built with shadcnui and TailwindCSS
  • Multi-Inbox Management - Manage multiple inboxes from one account
  • Email Search - Search emails by sender, subject, or content
  • Bulk Actions - Delete or mark multiple emails at once
  • Read/Unread Status - Track which emails you've read with auto-read on open
  • Real-time Notifications - SSE-powered instant notifications for new emails

Tech Stack

  • Framework: Next.js 15 (App Router)
  • Language: TypeScript
  • Database: PostgreSQL with Prisma ORM
  • Email Provider: Mailgun
  • UI Components: shadcn/ui
  • Styling: TailwindCSS
  • Authentication: With bcrypt password hashing

Dashboard