downloadAttachment and attachFile methods implemented, tests are pending