in reply to Looping through database query to send emails is taking too long
If the mail server is delaying your process (and I know this to happen in some mailbox settings), maybe you could just build the final list of addressees while your user is waiting, and do the actual sending in the background afterwards.