changes to support email notification --KW