Fix incorrect message subject

As of now the subject variable passed to the function is overwritten within the loop resulting in email subject being wrangled whenever there a more than one people being mentionned in the same message.