The mail inbox cannot listen to events in a seperate script