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

How are the send_email (setSendEmail, getSendEmail) / email_sent (setEmailSent, getEmailSent) flags used for an order?