emailer_get_emails functions