Application for sending large numbers of emails in background process