Bugfix & receiving emails

Receiving emails is not tested with mailgun yet so it may not work at all.