GithubHelp home page GithubHelp logo

niklasravnsborg / front-export Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 25 KB

๐Ÿ“ญ Export Front email messages to .eml files for backup or to import them into any mail app

JavaScript 100.00%
mail attachments frontapp export api v2

front-export's People

Contributors

leonderijke avatar niklasravnsborg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

front-export's Issues

Some errors

Is this still working? These are the errors I've received recently.

TypeError: Cannot read property 'status' of undefined
at axios.interceptors.response.use.err
(/Users/Sparks/Downloads/front-export-master/lib/api.js:23:15)
at process._tickCallback (internal/process/next_tick.js:68:7)

and then this one

(node:4131) UnhandledPromiseRejectionWarning: Error: Request failed with status code 502

at createError (/Users/Sparks/Downloads/front-export-master/node_modules/axios/lib/core/createError.js:16:15)

at settle (/Users/Sparks/Downloads/front-export-master/node_modules/axios/lib/core/settle.js:18:12)

at IncomingMessage.handleStreamEnd (/Users/Sparks/Downloads/front-export-master/node_modules/axios/lib/adapters/http.js:191:11)

at IncomingMessage.emit (events.js:187:15)

at endReadableNT (_stream_readable.js:1094:12)

at process._tickCallback (internal/process/next_tick.js:63:19)

(node:4131) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1418)

(node:4131) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

ELIFECYCLE

Hi when i try to run your script it errors out on ELIFECYCLE.
Do you know why this may be occuring?

Export gets stuck

Hi Niklas,

Thanks for this export script!

I got it to work on small batches, but now I'm trying to use it on our 'support@' inbox, which has 5000+ conversations. When I run the script, it just ends with:

Downloading conversation cnv_1dicvxx
Downloading conversation cnv_1dicaxx
Downloading conversation cnv_1diatxx
maarten@2d4c235x:/srv/www/front-export#

So somehow it doesn't move on to download the messages.

Do you have any advice on how to fix this and make the script proceed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.