added email step to test if the device is configured to send mail