updated mailers with action as parameters