add emailplate.(json|js|coffee) support