@staticmethod
def partition_template_string(template_string):
    """Splits a template string into subject and body"""
    subject = template_string.split('\n')[0]
    if template_string.startswith(subject + '\n\n'):
        body = template_string.partition(subject + '\n\n')[2]
    else:
        body = template_string.partition(subject + '\n')[2]
    return subject, body
