Email app

In this tutorial, you will learn how to build an email app that works entirely on the SAFE Network!

Instead of relying on an email service provider such as Gmail, or going through the trouble of running your own mail server, you can use the SAFE Network to build dynamic applications such as email and messaging apps.

The emails you send using SAFE Mail Tutorial are encrypted using the public encryption keyarrow-up-right of the recipient. This means that only the recipient of an email is able to read its content. This example app demonstrates the usage of private appendable dataarrow-up-right.

Contents

Inbox page

Overview

This tutorial will showcase how to:

SAFE APIs

You will learn about the following APIs:

External libraries

Source code

Browse the source code of the SAFE Mail Tutorial on GitHubarrow-up-right.

electron-react-boilerplatearrow-up-right was used as a starting point.

Binaries

Download SAFE Mail Tutorial v0.1.2 on GitHubarrow-up-right.

Since this app is built using Electronarrow-up-right, it can be distributed as a desktop app (Windows, OS X and Linux).

Building from source

Requirements

1. SAFE Launcher

Start SAFE Launcher v0.10.0arrow-up-right and log in.

2. Node.js

Make sure you have Node.js v6 (LTS).

There are many ways to install Node.js. See nodejs.orgarrow-up-right for more info.

Setup

1. Clone this GitHub repository

If you don't have Git installed, you can download it from git-scm.comarrow-up-right.

2. Install the dependencies

3. Start the app

Last updated

Was this helpful?