A programmer friendly API for iredmail