Fixed bug in sendmail configuration; added xml:id to sendmail configuration