LPS-42950 Avoid use an array where it could be a single object
LPS-42950 email variable comes from a param so it should be escaped