Fixing mail sending bug (recipient list not being passed to sender subrountine, so the email was only sent to the first one)