Skip to content

ko2fan/tide-webmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TIDE

TIDE is a REST API that a website can use to retrieve folders and emails using IMAP4.

This is a WIP project that is still very much in development. I would not advise using in production.

Contents

Why?


I wanted a flexible, yet fast way of providing web access to multiple IMAP servers.

What the API provides


  • /login - Let's a user specify a username, password and IMAP server host:port
  • /folders - Retrieves a list of folders from the IMAP mailbox
  • /emails - Retrieves the email envelopes for emails in a folder
  • /email - Retrieves the email body in plain and HTML formats

Dependencies


This uses:

Usage


$ go build main.go
$ ./tide

Languages