Support for different email structures