button disabled when sending mail is underprocess