Added messages.attachments method to fetch messages with attachments