Adding support for app to send emails