public struct function getContextPayload()
Returns a payload for use in rules engine conditions etc. for the current email sending context. Returns an empty struct if there is no context.