It looks like you should just build a list with only one item. Something like: ... List< String> toEmailList = new ArrayList(); ...
stackoverflow.com