fix for issues with email component type