Added send mail feature when adding consumer.