 			cataloged_item.collection_id=collection.collection_id and
 			collection.collection_id=collection_contacts.collection_id and
 			to_char(EXPIRATION_DATE,'yyyy-mm-dd') in (
-			<cfloop list="#mnths#" index="i">
-				to_char(add_months(sysdate,#i#),'yyyy-mm-dd')
-				<cfif i is not 48>
-					,
-				</cfif>
-			</cfloop>
+				<cfloop list="#mnths#" index="i">
+					to_char(add_months(sysdate,#i#),'yyyy-mm-dd')
+					<cfif i is not 48>
+						,
+					</cfif>
+				</cfloop>
 			)
 		group by
 			collection.guid_prefix,

			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
