Read the error message, it is very clear:
Strict (2048): Declaration of EmailComponent::initialize() should be compatible with Component::initialize(Controller $controller)
Your method signature doesn't match. Make them match.
function initialize(Controller $controller)