Fix missing variable assign

Fix missing variable assign that caused old value to be reused at form block's email sending