After upgrading to Visual Build v8 or later, you may encounter the error 'Invalid argument passed to function' when building a Send Mail step.
To correct the problem, either clear out or enter a valid email address format (for instance,
x@y.com or
"Visual Build" <noreply@mydomain.com>) in the From field on the Message tab. In older versions, the mail component allowed a name-only From value (for instance,
Visual Build), but it doesn't allow that in newer versions (presumably to be more compliant with
RFC-2822).