I am trying to build up a video library.

After looking on Facebook and Google, i have noticed that they offer a facility where you take the video/image with your camera/mobile phone and email this to a given email address. eg. video@facebook.com
This is then stored in their directory...

Does anyone know what software/hardware I would need to replicate this?