remove fragments, smtp support (WIP)