Master tutorial writer Gus over at PiMyLifeUp has written a great how-to for setting up an email server using your Raspberry Pi. He uses a piece of software called Citadel and he covers how to install it and and configure it. Great stuff! You can read the tutorial here.