Jeremiah Russell a43eb9e4a2 refactor(rules): replace unwrap() with explicit error handling and propagate errors safely
- Replace Option::unwrap() with pattern matching in add_rule label check
- Handle home directory resolution failures with proper Error types
- Add directory creation in save() to ensure parent directories exist
- Replace chrono unwraps with ? operator for date calculations
- Use unwrap_or with sensible defaults for parsing edge cases
- Keep unwrap in test code where immediate failure is desired
- All existing functionality preserved; no API changes
2025-10-19 08:52:23 +01:00
2025-09-29 22:28:57 +01:00
2025-10-16 16:39:19 +00:00
2025-10-16 16:39:19 +00:00
2025-10-16 16:39:19 +00:00
2025-09-29 22:28:57 +01:00
2025-09-29 16:09:44 +01:00
2025-10-19 07:54:12 +01:00
2025-10-16 16:39:19 +00:00

cull-gmail — Generate a change log based on the git commits compatible with keep-a-changelog and using conventional commits to categorize commits

Rust 1.88+ circleci-badge Crates.io Docs MIT licensed BuyMeaCoffee GitHubSponsors

The cull-gmail provides a software library and command line program to enable the culling of emails using the Gmail API.

Main Features

  • login to get authorization
  • backup the mailbox
  • filtered lists of the contents
  • move email matching a filtered list to trash

cull-gmail Library Documentation

The cull-gmail library provides types to enable the culling of emails using the Gmail API including the following steps:

  • login to get authorization
  • backup the mailbox
  • filtered lists of the contents
  • move email matching a filtered list to trash

Installation

Add the library to your program's Cargo.toml using cargo add:

$ cargo add cull-gmail

Or by configuring the dependencies manually in Cargo.toml:

[dependencies]
cull-gmail = "0.0.10"

cull-gmail CLI

A command line program to cull emails from Gmail using the Gmail API. The tool has sub-commands to for authorization, planning and executing the move of select email to the Gmail trash folder from which they will be automatically deleted after thirty days.

Installation

Install cull-gmail using Cargo:

cargo install cull-gmail

License

By contributing to cull-gmail, you agree that your contributions will be licensed under the MIT License. This means:

  • You grant permission for your contributions to be used, modified, and distributed under the terms of the MIT License
  • You confirm that you have the right to submit the code under this license
  • You understand that your contributions will become part of the project and available to all users under the MIT License

Contribution

Thank you for your interest in contributing to cull-gmail! We welcome contributions from the community and appreciate your help in making this project better.

Further details can be found in the contribution document.

Description
No description provided
Readme 1.1 MiB
Languages
Rust 99.8%
Shell 0.2%