Use background task for sending email