Fix action variable name in email method