Wait... mail class should be in the framework ! lel