moving general methods to base class and removing prefixes from email generator