Fixed interface definition
Type hinting interface based
Added mail message