Can probably remove these if the SendMail stub you write is synchronous.