Emails Queued and status updated to sent_mails table