- From the ticket and the ticket log that has just been created above, we generate:
- The email subject with the format: [WorkflowTag #TicketId-TicketLogId] Subject
- The attachments
- Determine the email, name and contact for the receiver
- Update for the ticket log (update the receiver info)
- Finally, create an email queue to notify the admin there is a new ticket (this email queue will be sent via email sending background task)
- Finally, delete the email from the mailbox