* changed string formatting structure for test db email generation to use kwargs