To send and receive messages with Mailchain you will need to add an account. To do this you will need a private key for an Ethereum account.
mailchain account add --chain=ethereum --private-key=[PRIVATE-KEY-VALUE]
--chain is the chain which the key is added to. Currently supported
--private-key the private key value which should be added. The public key and account will be calculated.
--passphrase is can be optionally supplied in the command line or at the prompt when the application starts.
After you have added the account, you are ready to start the application and serve the api.
To start the application, run:
When prompted enter the same passphrase as when you added the account.
You are now ready to start sending and receiving mails. Navigate to https://inbox.mailchain.xyz to see your mailbox.
The Mailchain web interface has all the functionality needed to send and receive messages. It's easy and fun to use. For more information on switching between Mainnet and testnets, see Mailchain Web Interface.