Removed hardcoded require

Hardcoded mailclass removed. From now this is done by the core.