EmailConfig must be nillable.

If there is no emails configs with such email, it will return null.