Add forced credentials setting for sending emails

Add forced credentials setting for sending emails