module ActionMailer::MailHelper

def attachments

Access the message attachments list.
def attachments
  mailer.attachments
end