SnapMail

Hey everyone,

I’m starting the thread on the SnapMail happ I demo’d today on the hackalong call.
The repos are here:

If you want to try it out, download the latest Release for one of the 4 platforms: Linux, Mac, Windows, Arm64.

List of Holochain bugs/features missing for it to go furthur:

I’ll edit this post with more info later on.

11 Likes

Beautiful!

Who wants a snapmail from me? I’m “bierlingm”.

It’s interesting, could you add a preview/screenshot in the snapmail-ui github and why not here as well?

2 Likes

my user name is “hedayat” I can’t see anybody in contact list.

Check now, I sent you a snapmail

EDIT: I got your acknowledgement!

Thanks, I have it. I send back a message.
But “Reply” button is disabled here. @ddd-mtl

Yup, I guess that’s to be built/enabled.

1 Like

Here’s another holochain problem to add to the list:

  • Updating multiple times a same entry in a single call gives inconsistent results

A tried to breakup a file attachment into multiple chunks that updates a file entry for each chunk but I don’t get the expected result. When I get the entry’s history its not what was sent. There are missing crud links.

Hey guys.

I managed to embed Snapmail as an electron app and did a release on windows and linux.
I haven’t written any documenation yet, but it does work on windows if you have wsl2 installed. Try it out if you dare:

I don’t have a Mac to test a Mac release but it should work if you clone the repo, add holochain & hc binaries and start electron locally.
You can change sim2h server url within the electron app.

Oh and one more thing… Snapmail can handle sub 1 MiB attachments now :slight_smile:

5 Likes

I’ve added a working Mac build to the release. Its not signed though.

1 Like

I just set up a bunch of new email accounts for a new business sigh… looking forward to weaving that into integrated environments. Thanks for all the work!

1 Like

Hey everyone.

I’ve made a new release of SnapMail. The only change is that it now runs with Holochain RSM.
You should be able to send bigger files now. Check it out and let me know if it works ok :slight_smile:

7 Likes

I’ve updated the release with the latest holochain version. I’ve added mDNS support.
it appears on linux you need to have libssl1.0.0 pre-installed on your system. Can someone confirm it works for them on linux and also Mac? Thanks

2 Likes

So it looks like the app itself launches.

Anybody wanna send me a mail to see whether it’s functionally sound as well?

Nice. Thanks for trying out. Are you on Mac? Did it work also on a second launch?
I have hopes one day I’ll have a Pi setup to be always on the network…

I am on Mac, yes.

And no, it didn’t work on second launch…

I tried pasting in the error log, but it’s far too big…

Haha, a Pi setup would be awesome… Or even a HoloPort one…

What MacOs version are you using? Only the last lines of the log file are useful. You can paste that if you want.
For some reason the websockets don’t work anymore on second launch on Mac. I’ll have to look into it. Thanks for reporting.

Here are a couple lines:

[2021-03-25 19:08:35.845] [info] Electron App readying...
[2021-03-25 19:08:35.889] [info] Killing WSL sub processes...
[2021-03-25 19:08:35.889] [info] Spawning ./bin/lair-keystore (dirname: /private/var/folders/tz/l29r5bln52s3znh0fx68xz040000gn/T/AppTranslocation/05E99E67-ED7B-4B61-9DAD-E4B22FA4B0FE/d/Snapmail.app/Contents/Resources/app)
[2021-03-25 19:08:36.140] [error] lair-keystore> Error: ProcessAlreadyExists

[2021-03-25 19:08:36.140] [info] 1
[2021-03-25 19:08:36.141] [error] Holochain init failed:
[2021-03-25 19:08:36.141] [error] { err: undefined }
[2021-03-25 19:08:54.500] [debug] *** App will-quit
[2021-03-25 19:08:54.501] [debug] *** mainWindow Closed
[2021-03-25 19:08:54.506] [info] Killing WSL sub processes...
[2021-03-25 19:08:54.507] [info] *** Holochain Closed
[2021-03-25 19:09:02.221] [debug] *** App will-quit
[2021-03-25 19:09:55.312] [debug] *** App will-quit
[2021-03-25 19:10:02.313] [debug] BIN_PATH = /private/var/folders/tz/l29r5bln52s3znh0fx68xz040000gn/T/AppTranslocation/05E99E67-ED7B-4B61-9DAD-E4B22FA4B0FE/d/Snapmail.app/Contents/Resources/app/bin
[2021-03-25 19:10:02.317] [debug] {
  g_configPath: '/Users/moritzbierling/Library/Application Support/Snapmail/storage/conductor-config.yaml'
}
[2021-03-25 19:10:02.318] [debug] {
  g_proxyUrl: 'kitsune-proxy://VYgwCrh2ZCKL1lpnMM1VVUee7ks-9BkmW47C_ys4nqg/kitsune-quic/h/kitsune-proxy.harris-braun.com/p/4010/--'
}
[2021-03-25 19:10:02.399] [info] Electron App readying...
[2021-03-25 19:10:02.446] [info] Killing WSL sub processes...
[2021-03-25 19:10:02.447] [info] Spawning ./bin/lair-keystore (dirname: /private/var/folders/tz/l29r5bln52s3znh0fx68xz040000gn/T/AppTranslocation/05E99E67-ED7B-4B61-9DAD-E4B22FA4B0FE/d/Snapmail.app/Contents/Resources/app)
[2021-03-25 19:10:02.692] [error] lair-keystore> Error: ProcessAlreadyExists

[2021-03-25 19:10:02.693] [info] 1
[2021-03-25 19:10:02.696] [error] Holochain init failed:
[2021-03-25 19:10:02.697] [error] { err: undefined }
[2021-03-25 20:30:22.790] [debug] *** App will-quit
[2021-03-25 20:30:22.793] [debug] *** mainWindow Closed
[2021-03-25 20:30:22.793] [info] Killing WSL sub processes...
[2021-03-25 20:30:22.794] [info] *** Holochain Closed

I’m on macOS Big Sur 11.3 Beta (20E5210c), about to upgrade to the next beta version. :wink:

Quite happy it worked a bit on Big Sur! The problem seems to be related to lair-keystore, but thats kind of odd. Thanks for sharing.

1 Like