Add async configuration and send emails asynchronously