 			encumbrance.ENCUMBRANCE_ACTION,
 			get_address(collection_contacts.contact_agent_id,'email')
 	</cfquery>
-
-
-	<cfdump var=#raw#>
-
-
 	<cfquery name="enc" dbtype="query">
 		select
 			ENCUMBRANCE_ID,

			group by
				collection_contact_email
		</cfquery>

		<cfset emailto=valuelist(mt.collection_contact_email)>

		<cfdump var=#mt#>

		<cfquery name="sp" dbtype="query">
			select guid_prefix,nspc from raw where encumbrance_id=#encumbrance_id# group by guid_prefix,nspc
		</cfquery>
		<cfdump var=#sp#>

		<cfif isdefined("Application.version") and  Application.version is "prod">
			<cfset subj="Arctos Encumbrance Notification">
			<cfset maddr=emailto>
		<cfelse>
			<cfset maddr=application.bugreportemail>
			<cfset subj="TEST PLEASE IGNORE: Arctos Encumbrance Notification">

			ENCUMBRANCE_ACTION,
			encumberer
	</cfquery>
	<cfloop query="enc">
		<cfquery name="mt" dbtype="query">
			select
				collection_contact_email
