Small fix for async email sending.