added EmailManager.cs