<?php if ( ! empty( $_POST['email'] ) ) : ?>
    <strong><?php echo __( 'E-mail', 'realia' ); ?>: </strong> <?php echo esc_attr( $_POST['email'] ); ?><br>
<?php endif; ?>

    <br>

<?php $permalink = get_permalink(); ?>
<?php if ( ! empty( $permalink ) ) : ?>
    <strong><?php echo __( 'URL', 'realia' ); ?>: </strong> <?php echo esc_attr( $permalink ); ?><br>
<?php endif; ?>

    <br>

<?php if ( ! empty( $_POST['message'] ) ) : ?>
    <?php echo esc_html( $_POST['message'] ); ?>
<?php endif; ?>