Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gmail to PDF Email Archiver

A modern Windows application that automatically syncs your Gmail messages to your local drive as PDF files, with powerful organization and search capabilities. Built with WPF and featuring a sleek Fluent UI design with both light and dark themes.

Features

  • Gmail Integration: Seamlessly connects to your Gmail account to sync messages
  • PDF Conversion: Automatically converts emails to PDF format for easy archiving and viewing
  • Smart Search: Filter emails using custom search terms to find exactly what you need
  • Domain-based Organization: Automatically sort emails by domain into organized folders
  • Directional Sorting: Separate incoming and outgoing emails into different directories
  • Attachment Support: Handles various types of attachments including:
    • PDF files
    • Microsoft Office documents (Word, Excel)
    • Images
    • Audio files
    • Video files
    • ZIP archives
    • Other binary files
  • Modern UI: Clean, responsive interface built with Fluent UI
  • Theme Support: Switch between light and dark modes for comfortable viewing
  • Auto-Sync: Periodically checks for new emails every 5 minutes
  • Smart Duplicate Prevention: Prevents duplicate downloads using message ID tracking

Installation

  1. Clone the repository
  2. Open the solution in Visual Studio
  3. Restore NuGet packages
  4. Build and run the application

Prerequisites

  • Windows 10 or later
  • .NET 8
  • Google Account with Gmail
  • Internet connection

Configuration

  1. Launch the application
  2. Click the "LOGIN" button to authenticate with your Google account
  3. Set up email filters with your desired search terms
  4. Configure target folders for email storage
  5. The application will begin syncing emails based on your filters

Usage

Setting Up Filters

  1. Add new email filters with specific search terms
  2. Configure destination folders for each filter
  3. Optionally set up domain-based subfolder organization

Email Organization

Emails are automatically organized into:

  • INCOMING/ - Emails received from external domains
  • OUTGOING/ - Emails sent from your domain
  • Domain-specific subfolders (if configured)

Theme Switching

  • Use the toggle button in the application to switch between light and dark themes

  • Theme preference is preserved between sessions

Security

  • Uses OAuth 2.0 for secure Gmail authentication
  • No email passwords are stored locally
  • Secure and encrypted token management for ongoing access

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

  • ✅ Anyone can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of your software
  • ✅ The only requirement is that they include the original copyright notice and license text
  • ✅ You provide no warranty with the software

Acknowledgments

  • Google Gmail API
  • WPF UI by LEPO Framework
  • SelectPDF for PDF conversion
  • All other open-source contributors

Support

For issues, questions, or contributions, please open an issue in the GitHub repository.

About

A modern Windows application that automatically syncs your Gmail messages to your local drive as PDF files, with powerful organization and search capabilities. Built with WPF and featuring a sleek Fluent UI design with both light and dark themes.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages