# Automatic Emails Issue
### Issue
It seems like the following automated emails were not sent out to the students during the times they were supposed to be sent out.
* Missing attendance email
* Missing submission email
*Note: We're not sure if other emails (incomplete submissions) are affected because we don't have those set-up on our end*
### Cohorts Affected
* All Interview Prep Cohorts
* Intro - `Intro-Software-Engineering-Summer-2022`
* Intermediate - `Intermediate-Software-Engineering-Summer-2022`
* Advanced - `Advanced-Software-Engineering-Summer-2022`
### Other useful information
* [Course emails folder for SE10X Summer 2022](https://github.com/codepath/course_emails/tree/master/remote_se10x_weekly)
* Course email fields that are not sending emails
* Session Absence Template
* Used `remote_se10x_weekly/4_absence_unexcused.md` template
* Missing Notice (for assignment and lab)
* Used `remote_se10x_weekly/3a_missing_hackerrank.md` template
### Actions Done
- [x] Check organizer dashboard set-up. Ensure that course emails are added correctly
- [x] Ensure that sessions are accurately set-up in the organizer dashboard
- [x] Ensure course emails are of the corrrect format (has `.md` at the end)
- [x] Test email sent out
- [x] Ensure that attendance dashboard is marked
- [x] Asked Pat to check the back-end for the list of emails sent out
- [x] Pat confirmed no missing attendance or missing submissions sent. Only the withdrawn email got sent



### Other Test(s) Done
Determine if the issue is because of the template or if it's the organizer dashboard>emails field itself
* Used a test cohort
* TEST-Advanced-Software-Engineering-Summer-2022
* Set-up the session absence email field using a different template
* Used the old template from a different folder
* `adv_interview_prep_enrollment/8_excused_absence_recorded.md` as well as the current one (mentioned above)
* Created test sessions and marked test account as absent
* Waited for an absence email
* **Absence email not received** - for both old template and new template