initial rewrite of sendOtpEmail() using template system

Signed-off-by: Andrwe Lord Weber <lord-weber-andrwe@andrwe.org>