Added 'isEmail' parameter for generated links