quick fix for sendEmail button