Simple mailer and basic charts from database