implementing postmark API