add mail initializer to linked files