Repository navigation
v0.1.0
First release. A thin, zero-dependency wrapper over the
Mailtea REST API, built on
net/http and json from the standard library. Ruby 3.0+.
Added
-
Mailtea::Client— readsMAILTEA_API_KEYand the optional
MAILTEA_API_BASE_URL, or takes both explicitly. The HTTP transport is
injectable, so tests need no network and an app can route requests through its
own instrumented stack. -
Transactional email.
emails.send,batch,get,list,analytics,
update,rescheduleandcancel— plusemails.inboundfor received mail
(list,get,reply, andattachments.list/attachments.get).
emails.getadds astatusalias of the wire'slast_event. The API caps a
message at 50 recipients combined acrossto,ccandbcc. -
Audience.
contacts(create/upsert,list,get,update,
delete),segments,topics,senders,suppressions(including
export, which returns raw CSV text), andcontact_properties. -
Content.
posts(create,send,send_test,list,get,update,
delete),templates(includingrender,publish/unpublish,versions,
restore_versionandduplicate), andassetsfor the publication's image
library — raw bytes are base64-encoded for you. -
Platform.
domains(+domains.tracking),webhooks,api_keys,
automations,automation_runs,eventsandevent_definitions. -
Mailtea.verify_webhook_signature/Mailtea.sign_webhook— Standard
Webhooks verification with replay protection and a constant-time compare,
checked in the test suite against signatures produced by the platform's own
TypeScript signer. -
Mailtea::Erroron every failure, carryingstatus(0 for a client-side
fault such as an unreachable API),message,code,detailsand
request_id.
Released from mailtea-app/mailtea@a0172eda.