Fixing emails to send them with delayed jobs

Please refactor the conditional above to be consistent with 

https://github.com/gopesht/osem/commit/f5c53f77cfd7228095ac78df50af2e1570366ee5#diff-5f33ece5a887a9e0adc7ce240d0cbd07R14