Refactor get_email and extract_mails_from_key