add cancel button to email management