added factory entry for system mailer; new_messages_spec.rb; TODO (future) testing the view (new messages alert)