Latenode

Automatically create Dropbox folders for parsed emails

This template files each inbound email into its own Dropbox folder. Mailhook receives the message at the Mailhook address.

JavaScript builds a filesystem-safe folder name from subject, sender, and date. Dropbox then creates that folder in the parent path you choose. Connect Dropbox in Latenode and forward the inbox you care about to Mailhook.

Updated Sep 16, 2026Est. run: 7sEst. cost: $0.0004
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Opens a Dropbox folder per inbound email
  • Names the folder from subject, sender, or date in JavaScript
  • Keeps Dropbox auth on the Dropbox connection
  • Uses Mailhook so you can forward an inbox without a separate parser product

How it works

1
Trigger

Email arrives

The scenario starts when a message hits the Mailhook address.

2
Logic

Build the folder name

JavaScript reads subject, from, and date and returns a safe folder name with no illegal characters.

3
Action

Create the Dropbox folder

Dropbox creates the folder under the parent path you set.

Setup guide

1

Add Mailhook

Add a Mailhook trigger and copy the address. Forward the inbox you care about, or send parsed mail, to that address.

2

Connect Dropbox

Add a Dropbox connection with permission to create folders in the parent path you want.

3

Name the folder in JavaScript

Add JavaScript to compose the folder name from subject, sender, and date, then create the Dropbox folder.

Requirements

A Mailhook address that can receive the emails you want to file
A Dropbox folder Latenode can create subfolders in

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.