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 
         (inbox-folder     "+sdfeu-inbox")
         (user           "USERNAME")
         (mail-domain    "")
         (pop-ssh-server  "")
         (pop-user       "USERNAME")
         (pop-auth pass)
         (smtp-ssh-server    "")
         (use-smtp-auth nil))