How to make the transactional email being sent asynchronously or synchronously?

The asynchronous email sending solves the problems like this:

In my production instance calls like $mailer->send(); takes around 40 to 60 seconds.
php - Send asynchronous emails in Magento 1.6 - Stack Overflow