Can you share the error message?
Can you please confirm whether the dictionary “var” is created as Dictionary data type.
Email_Auto_Dynamically.zip (2.2 KB)
Here is the ZIP file
There is mismatch type and instance in definition of dict variable, as the following.
Can you try either of the following.
Modify default value to New Dictionary(Of Object,Object)
Modify Variable type to `IDictionary<String,String>`
It might be necessary to modify other sentence regarding the above.