Good point, I pulled this out of a bot that was actually trying to accomplish something else. The better code would be: set list position(%List of email addresses here, 0) connect to mail server("SMTP With SSL", "youremailusername@gmail.com", "password", "smtp.gmail.com", 587) { loop($list total(%List of email addresses here)) { send email($next list item(%List of email addresses here), "subject", "Plain Text", "Your Message here", "", "", "") } wait($rand(60, 120)) }