Not sure if this your "fault" or not but we should have somewhere in Player class a way to send mails without having to deal with the database directly.