EmailAttachmentLog
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v6View latest version
A minimal Val Town project that receives emails with attachments, stores them in blob storage, and displays them in a dashboard with a Remarkable-inspired black and white aesthetic.
This component:
- Receives incoming emails with the email trigger
- Extracts the first attachment from each email
- Stores the attachment content in blob storage
- Maintains metadata about each attachment
- Sends a confirmation email to the sender
This component:
- Displays all received attachments in a clean, minimal interface
- Shows metadata for each attachment (filename, sender, date, etc.)
- Allows viewing and downloading of attachments
- Features a responsive design with a black and white aesthetic inspired by Remarkable
Attachments are stored in blob storage with the following structure:
attachments:list- JSON array of all attachment IDsattachment:{id}:content- Raw content of the attachmentattachment:{id}:metadata- JSON metadata about the attachment
- Send an email with an attachment to your Val Town email address
- The attachment will be automatically stored
- View all attachments on the dashboard
The dashboard features a minimal black and white aesthetic inspired by Remarkable:
- Clean typography
- Monochromatic color scheme
- Subtle hover effects
- Responsive design that works on all devices