Trying out new cursor reference in Email function