Moved mail and log models to base

Signed-off-by: Tom Wright <tom@inflatablecookie.com>