Added minimal call to app class in send_emails