Create an email ID
Last updated
Was this helpful?
Last updated
Was this helpful?
The app prompts you to create an email ID (if you hadn't created one yet). An email ID is an identity that you can give to other users in order to receive emails via the SAFE Network. Likewise, to send emails to other SAFE Network users, you need to know their email ID.
info::How is an email ID different from an email address?
The app attempts to create a private appendable data with the hash of the email ID you entered. If an appendable data with an ID corresponding to the hash of the email ID you want already exists, you will have to choose another email ID.
This appendable data will be used as your inbox. It has a maximum size of 100 KiB. You can save the emails you want to keep by moving them your root structured data (which has no size limit) and you can delete the emails you don't want to keep by removing them from your appendable data.
Other users will be able to send you emails by appending them to your appendable data. All emails will be encrypted using your public encryption key, therefore only you will be able to read them.
All appendable data items need to have an ID that is 32 bytes long. Therefore, the app generates a 32 bytes long ID by hashing your email ID.
app_utils.js
appendable_data_actions.js
The app saves the appendable data to the SAFE Network.
appendable_data_actions.js
After the root structured data is successfully updated, the app drops the appendable data handle.
appendable_data_actions.js
After the appendable data is successfully created, the app saves your email ID in your root structured data. That way, the app will be able to retrieve your appendable data in the future.
First, the app fetches a cipher options handle for symmetric encryption.
cipher-opts_actions.js
The app adds your email ID to your root structured data and encrypts it using symmetric encryption.
structured_data_actions.js
If your email ID is francis, the JSON data contained in your root structured data would look like this:
The app drops the "cipher options" handle for symmetric encryption.
cipher-opts_actions.js
The app saves your root structured data to the SAFE Network.
structured_data_actions.js
After your root structured data has been successfully saved, the app transitions to the Inbox page.
An email ID only works on the SAFE Network. It's not compatible with traditional email apps such as Gmail. And (e.g. username@example.com) are not compatible with this app.
Also, since the SAFE Network doesn't use the traditional (the one managed by ), the app doesn't need to enforce a specific email format (e.g. username + domain name). Feel free to register any email ID you want.