changed the updates to use db queries because the store() was eliminating the project_contacts
removed the unneeded variable
simplified all the query handling for the task log emails