I'm a little confused about the project. As I understand you're looking for a mass email sender but you want to randomise the recipients, senders, subjects and attachments? Are they randomly chosen from a list or are you looking to generate them from scratch?