Versions in this module Expand all Collapse all v0 v0.1.1 Jul 26, 2026 v0.1.0 Jul 26, 2026 Changes in this version + const DefaultBaseURL + const Version + type Client struct + func New(apiKey string, opts ...Option) (*Client, error) + func (c *Client) Emails() *EmailsService + type EmailsService struct + func (s *EmailsService) Send(ctx context.Context, req *SendEmail) (*SendEmailResponse, error) + type Error struct + Body map[string]any + Message string + Status int + func (e *Error) Error() string + type Option func(*Client) + func WithBaseURL(baseURL string) Option + func WithHTTPClient(httpClient *http.Client) Option + type SendEmail struct + BCC []string + CC []string + From string + HTML string + ReplyTo string + Subject string + Text string + To []string + type SendEmailResponse struct + ID string + Status string + SubmissionID string