How to send automatic response emails with attachments?