{{>subject}}
{{if failed}}Sent By: {{>user.title}} {{>user.firstName}} {{>user.lastName}}
{{/if}} {{if type == 'scheduled'}}Due to be sent:
{^{else}}{{if type=='inbox'}}Received{{/if}}{{if type=='sent'}}Sent{{/if}}{{if type=='template'}}Created{{/if}}
{{/if}}
{{:body}}
{{if attachments && attachments.length > 0}}
Attachments
{{for attachments}} {{/for}} {{/if}}
{{if deletedAttachments && deletedAttachments.length > 0}}
Deleted Attachments
{{for deletedAttachments}} {{/for}} {{/if}}