Split this up into a separate model: models/email.php