Here is a quick tutorial showing how to send emails with attachments to people where the amount of attachments is unknown. This process uses the array control for email attachments - which is awesome and simple to use.
Edit - I've updated this method to include a clearing of the array after each email is sent - else there is a risk the array will keep building. Apologies for this! Here is a link to part 2 - • Clear Attachment Array