Skip to content

Add email templates API support #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

yanchuk
Copy link

@yanchuk yanchuk commented May 22, 2025

Summary

  • add EmailTemplate model for template requests
  • extend MailtrapClient template methods to accept the new model
  • improve README instructions with required fields and examples
  • cover template methods with error handling tests

Testing

  • pre-commit run --files mailtrap/client.py mailtrap/email_template.py mailtrap/__init__.py README.md tests/unit/test_client.py CHANGELOG.md pyproject.toml
  • .tox/py311/bin/pytest -q

@yanchuk yanchuk closed this May 22, 2025
@yanchuk yanchuk deleted the gxpxep-codex/update-sdk-for-new-mailtrap-api-methods branch May 22, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant