Similar to fakesmtp, rest-smtp-sink is a SMTP server and web server. It stores e-mails received in a Sqlite database, and serves them via the web server with a RESTful API.