Hiring?
Seeking new challenges
Home
About Me
Projects
Contact
Loading theme toggle
Switch Theme (Light / Dark / System)

looking for a software engineer?

if you're looking for someone to help build and scale products, hire me.

Hire me

© 2026 Sagar Gujarathi

Back to Projects
AspireMail
Active

AspireMail

A self-hostable webmail client built with Next.js. Connects to any IMAP/SMTP server for full email management.

Overview

AspireMail is a self-hostable webmail solution for users who want control over their email client. It connects directly to any standard IMAP/SMTP server.

Features

  • Full IMAP/SMTP integration
  • Mailbox management with folders and labels
  • Message threading and search
  • Secure session management with encrypted credentials
  • Docker deployment ready

Tech Stack

Next.js 16 with App Router, shadcn/ui for the interface, and TanStack Query for state management. Optimistic updates for instant UI feedback.

Challenges

Handling the complexity of IMAP protocol while keeping the UI responsive. Used connection pooling and strategic caching to minimize round-trips, plus IMAP IDLE for real-time notifications.

Roadmap

  • Calendar integration (CalDAV)
  • Contact sync (CardDAV)
  • PGP encryption support

Duration

1 month

Date

2025

Technologies

Next.js
Next.js
shadcn
shadcn
React Query
React Query
IMAPSMTP
Docker
Docker
View LiveSource Code