added building field to sendmail js file