NXP-15493 use configuration to send mail