Changing how email sender loads configuration