username changed to host in code because it makes sense
now handles sening to multiple recipients, although could potentially be improved