added button to enable sending emails