mail class update