SimpleEmailMessageProvider: function for attachment download.