lucastliu/gmailfs

Add FUSE APIs to read email

Closed this issue · 1 comments

  1. store the message id in the stat data structure, and when user callcat filename, using the stat to get the message id

  2. read() in Gmailfs class

  • call gmail API to request a specific message in full format (get_mime_message)
  • usef.write() write into actual file
  • read the actual file to display the content
  1. Implemented FUSE API read() and open()
  2. Store the MIME string data (str(mime)) in a user-specified local directory (specified by the first parameter)

Problems:

  1. Need more clarification on stat in the first point.
  2. What kinds of data we want to store? I thought the MIME dictionary string is fine at this step. Please feel free to leave any comments and advice