Decouple sn2mail-post and sn2mail-get