Fixed Bug with EmailManager Class