Hi Alex,Yes, I got it now. Thanks for clarifying.But, as per my understanding, we can't use complex JavaScripts in the Subject Line.Because all variables and methods of JS are not defined for Subject Line.I tried to run some JS in the subject line and tried to fetch the data using queryDef, but got ...