Send emails in the background using a thread so server doesn't have to wait to send email before continuing other tasks