Defines Email model.
Fetches message info from account and uses it to create Email objects.