how to send an e-mail asynchronously

When sending an e-mail with sc_mail_send() the app waits a while when communicating with mail server, sending the e-mail and closing connection.
Depending on the mail server it can be significanly slow. When you do quite a lot mail sending this can be a big problem.
Is there a way to send a mail without locking the app?

You can consider storing the emails into a database table and create a separate process (i.e. a cron) to extract and send.

It crossed my mind as well. I thought there is better solution for this.
Can’t you do something like multitasking - something similiar to SC multitasking source generation?