 		<cfloop query="inbox">
 			<cfif from is acceptFrom and subject is "arctos is not dead">
 				<cfset tss=datediff('n',SENTDATE,now())>
-				<br>#tss#
 				<cfif tss lt alert_time_minutes>
 					<cfset sendAlert=false>
 				</cfif>
-				<cfimap action="delete" uid="#uid#" stoponerror="true" connection="gmail">
 			</cfif>
 		</cfloop>
 
 		<!---- now reloop and delete anything over {delete_time_days} days old ---->
-
 		<cfloop query="inbox">
 			<cfset tss=datediff('d',SENTDATE,now())>
-			<br>#SENTDATE#
-			<br>#tss#
 			<cfif tss gt delete_time_days>
-				<br>DELETE....
+				<cfimap action="delete" uid="#uid#" stoponerror="true" connection="gmail">
 			</cfif>
-
-				<!----
-				<cfif tss lt alert_time_minutes>
-					<cfset sendAlert=false>
-				</cfif>
-				<cfimap action="delete" uid="#uid#" stoponerror="true" connection="gmail">
-				---->
-
 		</cfloop>
-
 
 
 		<cfimap action="close" connection = "gmail">
 
 		<!--- this is the one instance where we want to send email from test to everybody ---->
 		<cfif sendAlert is true>
-
-		sending<cfabort>
-
 			<cfset subj="IMPORTANT: Arctos may be down">
 			<cfset maddr="dustymc@gmail.com,ctjordan@tacc.utexas.edu,ccicero@berkeley.edu,mkoo@berkeley.edu,arctos-working-group@googlegroups.com ">
 			<cfmail to="#maddr#" subject="#subj#" from="not_not_dead@#Application.fromEmail#" type="html">



---->
<cfoutput>
	<!--- do not cache; need to catch pause settings ---->
	<cfquery name="p" datasource="uam_god">


		<cfimap action="GetAll"	folder="inbox" connection="gmail" name="inbox">


		<cfif application.version is "test">
			<!--- test only reads msgs from prod, so... --->
