Workbench  notification rules conditions, together with systemmail and mimemail modules.