How to Optimize the Sending of Emails