Almost working. Getting timeouts when sending the emails.