bunch of stuff including email api