Email middleware for glq