added initial email on first login, merged into foundation template