Format email template, finish maps in email