Class for get mail listed based on a team ID