Thanks for your interest in contributing.
- Fork the repository
- Clone your fork:
git clone https://github.com/<your-username>/email-cli.git cd email-cli
- Build from source:
cargo build
- Rust 1.85+ (edition 2024)
- A Resend API key for integration testing
- Create a branch for your change:
git checkout -b your-feature-name
- Make your changes
- Run
cargo clippyandcargo fmtbefore committing - Write clear commit messages that explain why, not just what
- Keep PRs focused on a single change
- Include a clear description of what the PR does and why
- Make sure
cargo checkandcargo clippypass - Update documentation if your change affects user-facing behavior
- Follow standard Rust conventions
- Use
anyhowfor error handling - Keep functions small and focused
- Structured JSON output for all commands (see
output.rs)
Open an issue on GitHub with:
- What you expected to happen
- What actually happened
- Steps to reproduce
- Your OS and Rust version
By contributing, you agree that your contributions will be licensed under the MIT License.