Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

how to use it with other rest client? #37

Closed
akhedrane opened this issue Mar 20, 2017 · 2 comments
Closed

how to use it with other rest client? #37

akhedrane opened this issue Mar 20, 2017 · 2 comments

Comments

@akhedrane
Copy link

we want to build a webmail with angular2, so we need to create an imap-to-http api server,
how can i use this project to build this server or how to disable proton-webmail related encryption features?

@emersion
Copy link
Owner

You can see the list of HTTP endpoints here: https://github.com/emersion/neutron/blob/master/router/api/api.go#L147

You can replace the webmail in public/ with your own. Neutron will serve static files in public/build/.

All encryption-related features are handled client-side. There are a few HTTP endpoints related to encryption too (/keys), you can disable them by commenting them or building a dummy keys backend that always returns an error.

@emersion
Copy link
Owner

Note that you could also build you own HTTP server with https://github.com/emersion/go-imap

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants