Published
Edited
Aug 18, 2022
Insert cell
Insert cell
Insert cell
files = Promise.all(sentMailZip.filenames
.filter(fileName => !fileName.startsWith("__"))
.filter(fileName => !fileName.endsWith("/.DS_Store"))
.map(async fileName =>
({ fileName: fileName,
text: await sentMailZip.file(fileName).text()})
)
.map(async x =>
({...(await x),
...parseEmail((await x).text)
})
)
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more