pub async fn insert_email_delivery_with_placeholders(
conn: &mut PgConnection,
user_id: Uuid,
email_template_id: Uuid,
placeholders: &Value,
) -> ModelResult<Uuid>Expand description
Queues a mail to an account, carrying its substitutions on the delivery row.
The sibling of insert_email_delivery_to_address for recipients we do have an account for:
the address comes from the account, the values in the message do not.