begin adding references and code to send email via REST