updated the way tags are assigned to SendEmail job