CONN-728: Modified the SMTP agent to use config service