Skip to content

Support Mailtrap Email Templates CRUD Functionality #18

@yanchuk

Description

@yanchuk

Overview

Add support to the SDK for managing Email Templates in Mailtrap, based on the official API documentation and OpenAPI specification (see below).

References

Requirements

  • Implement client methods for the following endpoints:
    • Get all email templates
    • Create a new email template
    • Get a template by ID
    • Update a template by ID
    • Delete a template by ID
  • Ensure full request/response models are covered per OpenAPI spec.
  • Add basic input validation and error handling for API responses (401, 403, 404, 422, 500).
  • Provide usage examples and documentation for the Email Templates functionality.

OpenAPI Excerpt

openapi: 3.1.0
info:
  description: API for Mailtrap.io Email Templates functionality
  version: 2.0-oas3
  title: Email Templates API
...

Please reach out in this issue if clarification is needed on API behavior or edge cases.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions