Cleaned up style, added optional arg to sendEmail

- sendEmail has optional usePrefix argument.