At the end of admin/process_email.php, fclose is called with $handle.
$handle is never opened, $fd is.
diff --git a/admin/process_email.php b/admin/process_email.php
index 33c8783..f07e8c9 100755
— a/admin/process_email.php
+++ b/admin/process_email.php
@@ -72,7 +72,7 @@ while(!feof($fd)) {
$function($modargs,$body);
-fclose($handle);
+fclose($fd);