Foundation for Emails is a framework for creating responsive HTML emails that work across all email clients, including Outlook.
The framework addresses the challenge of building emails that render consistently across diverse email clients by providing pre-tested HTML and CSS components designed specifically for email. It includes Inky, a templating language that simplifies email development by converting custom HTML tags into the complex table structures required for email layout. The approach eliminates much of the manual work involved in crafting email-compatible markup while ensuring visual consistency across clients.
Developers should choose this tool if they need to build emails that work reliably in every major email client without spending time on cross-client testing and compatibility workarounds. It suits projects ranging from transactional emails to marketing campaigns. The framework offers both a Node.js-based template stack for standalone email projects and a Ruby gem for integration into Rails applications. The Inky templating engine is the distinguishing feature, allowing developers to write simpler markup that automatically expands into production-ready email HTML.
The project is in a transition phase toward consolidation with Inky. The styling framework will continue to receive maintenance updates in this repository, but new feature development is moving to the Inky project, where the templating engine is being rewritten in Rust with bindings for multiple languages including JavaScript, PHP, Python, Ruby, and Go. This means the repository will remain stable for existing users while the ecosystem evolves toward a more unified email framework.