Fixes #276 by setting the ->type

This also changes the theming of the email message so that the
member's fullname is used instead of their username.