Linux · Others
IMAP Gmailfs
GmailFS is an experimental FUSE filesystem that mounts a Gmail account as a local drive on Linux.
- License
- GPL-2.0
- Latest version
- —

What is IMAP Gmailfs?
GmailFS was created several years ago to let users treat their Gmail storage like a regular disk. It used FUSE to translate file operations into Gmail messages, allowing uploads, downloads, and directory navigation. Development stopped long ago and the project is effectively discontinued, with tools like rclone or Google Drive FUSE taking its place.
The tool appealed to Linux power users who wanted a quick, scriptable way to store files in Gmail without using a web browser. It required some command‑line comfort and a Gmail account configured for less‑secure apps. Because it treated each email as a file, performance was modest and the file‑size limits of Gmail applied.
Compared with Windows‑only utilities like GMail Drive, GmailFS felt more like a native Linux mount: you could use any file manager, shell commands, or backup script. However, the lack of updates means it may not work with current Gmail security settings, and the user experience can be flaky compared to modern cloud sync clients.
Best for: Linux users who need a simple, scriptable way to store small files in Gmail and don't mind using an older, unsupported tool.
Key features of IMAP Gmailfs
- Mount Gmail as a read/write filesystem via FUSE
- Supports basic file operations (create, read, delete)
- Works with any Linux file manager or CLI tools
- No separate GUI; controlled entirely from the terminal
- Can be scripted for automated backups
- Uses Gmail's free storage quota
Pros
- Integrates Gmail storage directly into the Linux file hierarchy
- No extra client software beyond FUSE and Python
- Works with standard Linux tools
Cons
- Project is discontinued; may break with Gmail API changes
- Limited to Gmail's attachment size limits
- Performance is slower than native cloud sync solutions
Windows programs IMAP Gmailfs replaces
Tips for Windows users
If you came from GMail Drive on Windows, install GmailFS via your distro's package manager or from source, then mount with a command like gmailfs /mnt/gmail. Remember that each file becomes an email attachment, so keep file sizes under Gmail's limits. Use standard Linux shortcuts (Ctrl+L to focus the address bar, F5 to refresh) and rely on your shell for bulk operations rather than a GUI sync client.
IMAP Gmailfs: frequently asked questions
Does GmailFS still work with modern Gmail accounts?
It may work if you enable "less secure apps" in your Google account, but Google is phasing out that option, so reliability is not guaranteed.
How do I install GmailFS on Ubuntu?
Install the fuse package, then clone the GmailFS repository from GitHub and run the setup script; detailed steps are in the project's README.
Can I use GmailFS for large files?
No; Gmail limits attachments to 25 MB, so large files must be split or stored elsewhere.
What is a modern alternative to GmailFS?
Tools like rclone or google-drive-ocamlfuse provide actively maintained ways to mount Google Drive, which supersedes Gmail storage for most use cases.
Updated