// AlertNewSignup alerts me through email whenever someone new signs up for
// Poker dining room.
func AlertNewSignup(email string, mailer mailers.Mailer) {
	subject := "Poker Dining Room - New Signup!"
	body := email + " signed up to learn more about Poker Dining Room!"
	to := os.Getenv("ALERT_EMAIL")

	if err := mailer.SendEmail(subject, body, to); err != nil {
		fmt.Printf("Error sending an alert email.\n")
	}
}
// EmailNewSignup emails the new user a little welcome message.
func EmailNewSignup(email string, mailer mailers.Mailer) {
	subject := "Poker Dining Room!"
	body := `So excited to hear you're interested!

	I'll be in touch soon with more info!

	- Matt`
	to := email

	if err := mailer.SendEmail(subject, body, to); err != nil {
		fmt.Printf("Error sending a welcome email to %v.\n", to)
	}
}