include query name in email