A mailer, member database, and so much more, for digital activism.
This document describes the data model of the Mailer::Mailing.
Mailing may refer to a MailingTemplate which is used for rendering the mailing content.Mailing may make use of MailingComponents. Components are referred to using the component merge tag.Mailing may contain MailingLinks.MailingLog entry is created.MailingVariations may be defined using MailingTests and and MailingTestCasess.
MailingVariations a mailing may contain MailingTests.MailingTest is referred to by a test merge tag.MailingTest one or more MailingTestCases may be defined. Each MailingTestCase defines a possible value for the test merge tag.MailingVariation is a combination of MailingTestCases and has exactly one MailingTestCase for each MailingTest defined in the mailing.At the moment, a MailingVariation is defined for each possible combination of MailingTestCases.
The Vision Doc contains ideas about the possibility to allow more user defined MailingVariations in order to define testing themes.
id bigint NOT NULLexternal_id integername textsubject textfrom textfrom_name textfrom_email textcreated_at timestamp without time zone,updated_at timestamp without time zone,body_html textbody_plain textbody_markdown textparsed_html textrecurring_schedule textrecurring_at time without time zonerecurring_day integerrecurring_last_run_started timestamp without time zonerecurring boolean DEFAULT falserecurring_max_recipients_per_send integersent_count integermember_count integertotal_opens integertotal_clicks integertotal_spam_reports integertotal_bounces integertotal_unsubscribes integersend_time double precisionstarted_send_at timestamp without time zonefinished_sending_at timestamp without time zonemailing_template_id integercampaign_id integerlist_id integersearch_id integerparent_mailing_id integerscheduled_for timestamp without time zonerecipients_synced booleanpriority booleanpaused booleanaborted boolean