Mew is a very flexible mail reader for Emacs. It supports ssh. You need to be a Meta-ARPA member. For sdfeu proceed as follows:

  1. Set up ssh public key authentication on a port with Meta-ARPA features (465, 587, 995, 996 1025, 8080 or 7070)
  2. Edit your .mew.el file:
   (setq mew-config-alist 
       '((sdfeu
         (inbox-folder     "+sdfeu-inbox")
         (user           "USERNAME")
         (mail-domain    "sdfeu.org")
         (pop-ssh-server  "USERNAME@sdfeu.org")
         (pop-user       "USERNAME")
         (pop-auth pass)
         (smtp-ssh-server    "USERNAME@sdfeu.org")
         (use-smtp-auth nil))
        )
   )