Updated email and made separate io function types.